Interface IChartSeriesStylesModel
This interface represents the complete style information for a series in the chart.
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public interface IChartSeriesStylesModel
Properties
ComposedStyles
Completely composed styles can be accessed using the interface returned by this property. Composed styles have all information initialized from base styles and any other styles along their inheritance hierarchy.
Declaration
IChartSeriesComposedStylesModel ComposedStyles { get; }
Property Value
Type |
---|
IChartSeriesComposedStylesModel |
Style
Gets the series style information.
Declaration
ChartStyleInfo Style { get; }
Property Value
Type |
---|
ChartStyleInfo |
Methods
ChangeStyle(ChartStyleInfo)
Changes series style information.
Declaration
void ChangeStyle(ChartStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
ChartStyleInfo | style | Style whose attributes are to be stored in the series style. |
ChangeStyleAt(ChartStyleInfo, Int32)
Changes style information at the specified index.
Declaration
void ChangeStyleAt(ChartStyleInfo style, int index)
Parameters
Type | Name | Description |
---|---|---|
ChartStyleInfo | style | Style whose attributes are to be stored. |
System.Int32 | index | Index value where they need to be stored. |
GetBaseStyles(IStyleInfo, Int32)
Accesses base style information for the specified style.
Declaration
ChartStyleInfo[] GetBaseStyles(IStyleInfo chartStyleInfo, int index)
Parameters
Type | Name | Description |
---|---|---|
IStyleInfo | chartStyleInfo | Style for which base style information is needed. |
System.Int32 | index | Index value where the style is stored. |
Returns
Type |
---|
ChartStyleInfo[] |
GetStyleAt(Int32)
Returns the style information at the specified index. This is the actual style information and not composed style information.
Declaration
ChartStyleInfo GetStyleAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index value of the point for which style information is needed. |
Returns
Type | Description |
---|---|
ChartStyleInfo | Style information at the specified index. |
Events
Changed
Event that is raised when style information is changed.
Declaration
event ChartStyleChangedEventHandler Changed
Event Type
Type |
---|
ChartStyleChangedEventHandler |