Sets gradient color palette to fill Surface polygons.
public Boolean UseColorRange {get; set;}

Remarks

Default: true

When true, the UseColorRange property indicates that Surface polygons will be filled with a gradient color palette. The Palette is defined with three colors: StartColor, MidColor and EndColor. When both UseColorRange and UsePalette are false, all Surface polygons are filled with Surface's Series.Color color.

Example


This code will create a gradient color palette from Green to Blue:

[C#]

Steema.TeeChart.Styles.Surface Series1 = new Steema.TeeChart.Styles.Surface(); 
tChart1.Series.Add(Series1);
Series1.StartColor = Color.Green;
Series1.EndColor = Color.Blue;
Series1.UseColorRange = true;



See Also

Custom3DPalette Class | Custom3DPalette Members | Steema.TeeChart.Styles Namespace