ChartPalette
Defines the palette semantic for a RadChartBase 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.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
[TypeConverter(typeof(ChartPaletteConverter))]
public class ChartPalette
Inheritance: objectChartPalette
Constructors
Initializes a new instance of the ChartPalette class.
public ChartPalette()
Properties
Gets the collection that stores entries not related to any particular series.
public ObservableCollection<PaletteEntry> GlobalEntries { get; }
Gets a value indicating whether the specified palette is predefined and may not be modified by the user.
public bool IsPredefined { get; }
Gets or sets the user-friendly identifier for the palette.
public string Name { get; set; }
Gets the collection with all the per-series definitions registered with the palette.
public ObservableCollection<PaletteEntryCollection> SeriesEntries { get; }
Methods
Gets the PaletteEntry (if present) for the provided ChartSeries instance at the specified index.
public PaletteEntry? GetEntry(ChartSeries series, int index)
Returns a string that represents the current object.
public override string ToString()
A string that represents the current object.
Overrides:
Events
Occurs upon a change in some of the entries or when an entry is added/removed/replaced.
public event EventHandler Changed