Skip to main content

ConstantLineCollection.Insert(Int32, ConstantLine) Method

Inserts the specified constant line to the collection at the specified position.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public void Insert(
    int index,
    ConstantLine constantLine
)

Parameters

Name Type Description
index Int32

A zero-based integer which specifies the position at which the constant line should be inserted. If it’s negative or exceeds the number of elements within the collection, an exception is thrown.

constantLine ConstantLine

A ConstantLine object specifying the inserted line.

See Also