Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

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