Class 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.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ChartPalette : Object
Constructors
ChartPalette()
Properties
GlobalEntries
Gets the collection that stores entries not related to any particular series.
Declaration
public ObservableCollection<PaletteEntry> GlobalEntries { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PaletteEntry>
|
IsPredefined
Gets a value indicating whether the specified palette is predefined and may not be modified by the user.
Declaration
public bool IsPredefined { get; }
Property Value
System.Boolean
|
Name
Gets or sets the user-friendly identifier for the palette.
Declaration
public string Name { get; set; }
Property Value
System.String
|
SeriesEntries
Gets the collection with all the per-series definitions registered with the palette.
Declaration
public ObservableCollection<PaletteEntryCollection> SeriesEntries { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PaletteEntryCollection>
|
Methods
GetEntry(ChartSeries, Int32)
Gets the PaletteEntry (if present) for the provided ChartSeries instance at the specified index.
Declaration
public Nullable<PaletteEntry> GetEntry(ChartSeries series, int index)
Parameters
ChartSeries
series
|
System.Int32
index
|
Returns
System.Nullable<PaletteEntry>
|
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
A string that represents the current object. |
Events
Changed
Occurs upon a change in some of the entries or when an entry is added/removed/replaced.
Declaration
public event EventHandler Changed
Event Type
System.EventHandler
|