For 3D and 3D+t (the currently displayed timestep), the 'Use whole image gray values' does what it states. However, this feature does not work for a multi component image (like the Diffusion image)
Here, regardless the selected component, the values are taken from the first one
(or all values, I cannot tell it as all diffusion images have b=0 images as first component which is then the one with the biggest intensity range)