Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / PaletteSteps Property
Example


In This Topic
    PaletteSteps Property
    In This Topic
    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
     
    <CategoryAttribute("Palette")>
    <DescriptionAttribute("Controls the number of entries in the automatic palette.")>
    <DefaultValueAttribute(3)>
    Public Property PaletteSteps As Integer
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As Integer
     
    instance.PaletteSteps = value
     
    value = instance.PaletteSteps
    [Category("Palette")]
    [Description("Controls the number of entries in the automatic palette.")]
    [DefaultValue(3)]
    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