Skip to main content
A newer version of this page is available. .

DataPointCollection.Insert(Int32, DataPoint) Method

Adds the specified data point to the specified position within the collection.

Namespace: DevExpress.UI.Xaml.Charts

Assembly: DevExpress.UI.Xaml.Charts.v19.2.dll

Declaration

public void Insert(
    int index,
    DataPoint point
)

Parameters

Name Type Description
index Int32

An integer value representing the zero-based index at which the specified data point should be inserted. If negative or it exceeds the number of elements, an exception is raised.

point DataPoint

A DataPoint object representing the data point to be inserted.

See Also