If the display property is set to 'Refractive index' the refractive index n + i k will be computed from the dielectric function and displayed. The real part n is drawn in blue, the imaginary part k in red if the default graphics settings have not been changed.
For the glass example you get here the following graph: