Class ChartPalette
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.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ChartPalette
Constructors
ChartPalette()
Fields
Empty
Properties
GlobalEntries
Gets the collection that stores entries not related to any particular series.
Declaration
public PaletteEntryCollection GlobalEntries { get; }
Property Value
PaletteEntryCollection
|
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 ChartPaletteCollection SeriesEntries { get; }
Property Value
ChartPaletteCollection
|
Methods
FromKnownPalette(String)
Gets the KnownPalette by the specific name.
Declaration
public static ChartPalette FromKnownPalette(string name)
Parameters
System.String
name
The name. |
Returns
ChartPalette
|
GetEntry(String, Int32)
Gets the palette entry with the specific name.
Declaration
public PaletteEntry GetEntry(string familyName, int index)
Parameters
System.String
familyName
Name of the family. |
System.Int32
index
The index. |
Returns
PaletteEntry
|
OnChanged()
Called when [changed].
Declaration
protected virtual void OnChanged()
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
System.String
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.
Declaration
public event EventHandler Changed
Event Type
System.EventHandler
|