Class ChartSeriesIndexedModelAdapter
Provides the wrapper for IChartSeriesIndexedModel that implements the IChartSeriesModel.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartSeriesIndexedModelAdapter : IChartSeriesModel
Constructors
ChartSeriesIndexedModelAdapter(IChartSeriesIndexedModel)
Initializes a new instance of the ChartSeriesIndexedModelAdapter class.
Declaration
public ChartSeriesIndexedModelAdapter(IChartSeriesIndexedModel model)
Parameters
| Type | Name | Description |
|---|---|---|
| IChartSeriesIndexedModel | model | The model. |
Properties
Count
Returns the number of points in this series.
Declaration
public int Count { get; }
Property Value
| Type |
|---|
| System.Int32 |
Inner
Gets the IChartSeriesIndexedModel.
Declaration
public IChartSeriesIndexedModel Inner { get; }
Property Value
| Type | Description |
|---|---|
| IChartSeriesIndexedModel |
Methods
GetEmpty(Int32)
Indicates whether a plottable value is present at the specified point index.
Declaration
public bool GetEmpty(int xIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | xIndex | The index value of the point. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if there is a value present at this point index; false otherwise. |
GetX(Int32)
Returns the X value of the series at the specified point index.
Declaration
public double GetX(int xIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | xIndex | The index value of the point. |
Returns
| Type | Description |
|---|---|
| System.Double | X value. |
GetY(Int32)
Returns the Y value of the series at the specified point index.
Declaration
public double[] GetY(int xIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | xIndex | The index value of the point. |
Returns
| Type | Description |
|---|---|
| System.Double[] | Y value. |
Events
Changed
Event that should be raised by any implementation of this interface if data that it holds changes. This will cause the chart to be updated accordingly.
Declaration
public event ListChangedEventHandler Changed
Event Type
| Type |
|---|
| System.ComponentModel.ListChangedEventHandler |