Shading Property

Gets or sets a value that determines how color values are interpolated across the graph's surface (or line segment).

Syntax

object.Shading [= value]

Parameters

value
A Short expression that can have one of only two values, as follows:

value Name Description
1 FLAT Pixel values on the graph change only at data points, so the graph has a faceted appearance.
2 SMOOTH Color interpolation between data points prevents sharp color transitions.

Remarks

This property applies only to graphs whose GraphType property is Height Field and whose GraphStyle property is Surface, Wire Mesh or Lines.

The effect of this property is more noticeable when the data dimensions are relatively small.

See Also

GraphStyle, GraphType, TextureMode