All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ChartCalculatedFieldCollection.Insert(Int32, ChartCalculatedField) Method

Inserts the specified calculated field into the collection at the specified position.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public void Insert(
    int index,
    ChartCalculatedField calculatedField
)
Public Sub Insert(
    index As Integer,
    calculatedField As ChartCalculatedField
)

Parameters

Name Type Description
index Int32

A zero-based integer the calculated field position is to be inserted.

calculatedField ChartCalculatedField

The zero-based index at which the calculated field should be inserted.

Remarks

The Insert method allows you to insert a calculated field at a specific position. Elements that follow the insertion point are moved down to accommodate the new element.

If the index parameter is equal to or greater than the number of elements in the collection, the new element is appended to the end.

To add a new element(s) to the end of collection, use the Add and AddRange methods.

See Also