FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.6 Assembly / C1.Win.FlexReport Namespace / ChartField Class / Palette Property

In This Topic
    Palette Property (ChartField)
    In This Topic
    Gets or sets the collection of colors to be used for each series (or pie slices).
    Syntax
    'Declaration
     
    Public Property Palette As String
    public string Palette {get; set;}
    Remarks
    Available if ColorGeneration is set to CustomByPalette. The collection is specified as a string containing a list of color names, delimited by semicolons. For example: chartField.Palette = "Red;Green;Blue"
    Example
    chartField.Palette = "Red;Green;Blue"
    See Also