| Contents > Glossaries > Style examples | Index |
Scale bar for Altitude-shaded plots
Contour plots and 3D fitted surfaces may be altitude shaded with a smooth gradient between given colors. This style adds a calibration bar in the right margin to allow you to read the data value from the color.

sp.ContourPlotStyle = ContourPlotStyles.ScaleBar; sp.CloudChartStyle = CloudChartStyles.ScaleBar;
The labels on the bar are written with the current Key font setting, and the Z-axis caption is used to write the caption above it. Lines are drawn across the bar at the z-tickmark intervals, and the lines are drawn with the current contour style.
