ClassChartPalette
Defines the palette semantic for a ChartView instance. The palette contains GlobalEntries, which are PaletteEntry objects, not related to any particular series and the SeriesEntries collection, which may be used to define a palette for a series family - e.g. Area.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
[TypeConverter(typeof(ChartPaletteConverter))]
public class ChartPalette
Inheritance: objectChartPalette
Constructors
ChartPalette()
Initializes a new instance of the ChartPalette class.
Declaration
public ChartPalette()
Fields
Properties
GlobalEntries
Gets the collection that stores entries not related to any particular series.
Declaration
public PaletteEntryCollection GlobalEntries { get; }
Property Value
IsPredefined
Gets a value indicating whether the specified palette is predefined and may not be modified by the user.
Name
Gets or sets the user-friendly identifier for the palette.
SeriesEntries
Gets the collection with all the per-series definitions registered with the palette.
Declaration
public ChartPaletteCollection SeriesEntries { get; }
Property Value
Methods
FromKnownPalette(string)
Gets the KnownPalette by the specific name.
Declaration
public static ChartPalette FromKnownPalette(string name)
Parameters
name
The name.
Returns
GetEntry(string, int)
Gets the palette entry with the specific name.
Declaration
public PaletteEntry GetEntry(string familyName, int index)
Parameters
familyName
Name of the family.
index
The index.
Returns
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
A string that represents the current object.
Overrides
Events
Changed
Occurs upon a change in some of the entries or when an entry is added/removed/replaced.