Xceed Chart for WinForms v4.4 Documentation
PaletteSteps Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SurfaceSeriesBase Class : PaletteSteps Property
Controls the number of entries in the automatic palette if the SyncPaletteWithAxisScale is set to false. Valid only when AutomaticPalette is set to true.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<CategoryAttribute("Palette")>

<DescriptionAttribute("Controls the number of entries in the automatic palette.")>

Public Property PaletteSteps As Integer
'Usage
 
Dim instance As SurfaceSeriesBase

Dim value As Integer

 

instance.PaletteSteps = value

 

value = instance.PaletteSteps
[DefaultValue()]

[Category("Palette")]

[Description("Controls the number of entries in the automatic palette.")]

public int PaletteSteps {get; set;}
Example
The following code sets the number of automatic palette entries to 4:
surface.PaletteSteps = 4
surface.PaletteSteps = 4;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SurfaceSeriesBase Class
SurfaceSeriesBase Members