Nevron .NET Vision
Nevron.Chart Namespace / NPalette 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 if AutomaticPalette is set to true.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Palette")>
    <System.ComponentModel.DescriptionAttribute("Controls the number of entries in the automatic palette.")>
    <System.ComponentModel.DefaultValueAttribute(3)>
    Public Property PaletteSteps As System.Integer
    'Usage
     
    
    Dim instance As NPalette
    Dim value As System.Integer
     
    instance.PaletteSteps = value
     
    value = instance.PaletteSteps
    [System.ComponentModel.Category("Palette")]
    [System.ComponentModel.Description("Controls the number of entries in the automatic palette.")]
    [System.ComponentModel.DefaultValue(3)]
    public System.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