Skip to main content

SeriesPointCollection.Add(SeriesPoint) Method

Appends the specified SeriesPoint object to the current collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

public int Add(
    SeriesPoint point
)

Parameters

Name Type Description
point SeriesPoint

A SeriesPoint object to append to the collection.

Returns

Type Description
Int32

An integer value indicating the position at which the new element was inserted.

Remarks

This method adds a SeriesPoint object to the end of the collection.

Note

Before adding a SeriesPoint to the collection, use the Series.IsCompatible method to check if this point’s values correspond to the scale type of the current Series.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(SeriesPoint) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also