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


In This Topic
    SmoothPalette Property
    In This Topic
    When this property is enabled the zone colors gradate smoothly from one to another.
    Syntax
    'Declaration
     
    <CategoryAttribute("Palette")>
    <DescriptionAttribute("When this property is enabled the zone colors gradate smoothly from one to another.")>
    <DefaultValueAttribute(False)>
    Public Property SmoothPalette As Boolean
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As Boolean
     
    instance.SmoothPalette = value
     
    value = instance.SmoothPalette
    [Category("Palette")]
    [Description("When this property is enabled the zone colors gradate smoothly from one to another.")]
    [DefaultValue(false)]
    public bool SmoothPalette {get; set;}
    Remarks
    By default this property is set to false.
    Example
    The following code activates the smooth palette mode:
    surface.SmoothPalette = True
    surface.SmoothPalette = true;
    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