Interface IChartSeriesComposedStylesModel
This interface represents the 'composed' state of styles for a single series. When composed, styles have all their attributes initialized from their base styles and any other styles that forms a part of their inheritance structure. Composed styles are used by the chart directly.
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public interface IChartSeriesComposedStylesModel
Properties
Item[Int32]
Gets the ChartStyleInfo at the specified index.
Declaration
ChartStyleInfo this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type |
|---|
| ChartStyleInfo |
Style
Returns the style object that is common to the series (for which this model holds style information).
Declaration
ChartStyleInfo Style { get; }
Property Value
| Type |
|---|
| ChartStyleInfo |
Methods
ChangeStyle(ChartStyleInfo, Int32)
Changes the style stored at the specified index to be the same as the specified style. Affects the data store.
Declaration
void ChangeStyle(ChartStyleInfo style, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartStyleInfo | style | Style object whose information is to be stored. |
| System.Int32 | index | The index value of the style to be changed. |
GetBaseStyles(IStyleInfo, Int32)
Looks up base style information for any ChartStyleInfo object. ChartBaseStylesMap
Declaration
ChartStyleInfo[] GetBaseStyles(IStyleInfo chartStyleInfo, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| IStyleInfo | chartStyleInfo | The style object for which base style information is to be retrieved. |
| System.Int32 | index | The index value of the style. |
Returns
| Type | Description |
|---|---|
| ChartStyleInfo[] | Returns ChartStyleInfo array. |
GetOfflineStyle()
Overloaded. Returns an 'offline' version of the series style. Offline styles do not propagate changes made, back to the data store.
Declaration
ChartStyleInfo GetOfflineStyle()
Returns
| Type |
|---|
| ChartStyleInfo |
GetOfflineStyle(Int32)
Returns an 'offline' version of the point style. Offline styles do not propagate changes made, back to the data store.
Declaration
ChartStyleInfo GetOfflineStyle(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Index value of the style. |
Returns
| Type | Description |
|---|---|
| ChartStyleInfo | Returns ChartStyleInfo object. |
ResetCache()
Removes any information that is cached.
Declaration
void ResetCache()