Class ChartDataPointCollection
A collection class which holds the data points.
Inheritance
System.Object
ChartDataPointCollection
Namespace: Syncfusion.WinForms.SmithChart
Assembly: Syncfusion.SfSmithChart.WinForms.dll
Syntax
[ComVisible(false)]
public class ChartDataPointCollection : ObservableCollection<ChartPoint>
Constructors
ChartDataPointCollection(ChartSeries)
Initializes a new instance of the ChartDataPointCollection class.
Declaration
public ChartDataPointCollection(ChartSeries chartSeries)
Parameters
Type | Name | Description |
---|---|---|
ChartSeries | chartSeries | Represents the chart series. |
Methods
Add(Double, Double)
Adds the point into the colletion.
Declaration
public void Add(double xValue, double yValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | xValue | x value of the data. |
System.Double | yValue | y value of the data. |
SetX(Int32, Double)
Sets the resistance value for the specified index.
Declaration
public void SetX(int index, double xValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | index at which resistance value has to be modified. |
System.Double | xValue | replacement x value. |
SetY(Int32, Double)
Sets the reactance value for the specified index.
Declaration
public void SetY(int index, double yValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | index at which reactance value has to be modified. |
System.Double | yValue | replacement y value. |