Interface IEditableChartSeriesModel
Interface to be implemented if you want ChartPoint to be able to change your data through code. Additionally, in a future version this interface will allow the chart to edit data. If you wish to just display data as a series in the chart, please refer to the simpler IChartSeriesModel interface.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public interface IEditableChartSeriesModel : IChartSeriesModel
Methods
Add(Double, Double[])
Adds data to the end of the data representation.
Declaration
void Add(double x, double[] y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X value. |
System.Double[] | y | Y value. |
Add(Double, Double[], Boolean)
Adds data to the end of the data representation.
Declaration
void Add(double x, double[] y, bool isEmpty)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X value. |
System.Double[] | y | Y value. |
System.Boolean | isEmpty | if set to |
Add(Double, Double[], Boolean, String)
Adds data to the end of the data representation.
Declaration
void Add(double x, double[] y, bool isEmpty, string category)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X value. |
System.Double[] | y | Y value. |
System.Boolean | isEmpty | if set to |
System.String | category | Category value. |
Add(Double, Double[], String)
Adds data to the end of the data representation.
Declaration
void Add(double x, double[] y, string category)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X value. |
System.Double[] | y | Y value. |
System.String | category | Category value. |
Clear()
Clears all data points in this datasource.
Declaration
void Clear()
Insert(Int32, Double, Double[])
Inserts a value in the data at the specified index.
Declaration
void Insert(int xIndex, double x, double[] yValues)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where the insertion is to be made. |
System.Double | x | The X value. |
System.Double[] | yValues | The associated Y values. |
Insert(Int32, Double, Double[], String)
Inserts a value in the data at the specified index.
Declaration
void Insert(int xIndex, double x, double[] yValues, string category)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where the insertion is to be made. |
System.Double | x | The X value. |
System.Double[] | yValues | The associated Y values. |
System.String | category | The associated Category values. |
Remove(Int32)
Removes the data point at the specified index.
Declaration
void Remove(int xIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where data is to be removed. |
SetEmpty(Int32, Boolean)
Sets the empty state indicating if the value at the specified point index is to be plotted. If this value is set to True, then it is treated as not present and is not plotted.
Declaration
void SetEmpty(int xIndex, bool isEmpty)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where the empty state indicator is to be stored. |
System.Boolean | isEmpty | Empty state indicator. |
SetX(Int32, Double)
Changes the X value of the data point at the specified index.
Declaration
void SetX(int xIndex, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where the data is to be changed. |
System.Double | value | New X value. |
SetY(Int32, Double[])
Changes the Y value of the data point at the specified index.
Declaration
void SetY(int xIndex, double[] yValues)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xIndex | Index value where data is to be changed. |
System.Double[] | yValues | New Y values. |