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

BootstrapChartConstantLineCollection.Add(Object, String) Method

Adds a new constant line to the collection and specifies its value and label text.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public BootstrapChartConstantLine Add(
    object value,
    string labelText
)

Parameters

Name Type Description
value Object

An object that is the constant value.

labelText String

A String value specifying the text to display in the constant line label.

Returns

Type Description
BootstrapChartConstantLine

A BootstrapChartConstantLine object representing the newly created constant line.

Remarks

Use the Add method to add a new constant line with the specified settings to the BootstrapChartConstantLineCollection object.

See Also