ChartDataPointCollection
Add Method
|
Adds a new ChartDataPoint at the specified index.
Namespace:
Spire.Doc.Fields.Shapes.Charts
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public ChartDataPoint Add(
int index
)
Public Function Add (
index As Integer
) As ChartDataPoint
public:
ChartDataPoint^ Add(
int index
)
member Add :
index : int -> ChartDataPoint
Parameters
-
index
-
Type:
System
Int32
The zero-based index at which the new ChartDataPoint should be inserted.
Return Value
Type:
ChartDataPoint
The newly added ChartDataPoint.
See Also