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


public BootstrapChartConstantLine Add(
    object value,
    string labelText
Public Function Add(
    value As Object,
    labelText As String
) As BootstrapChartConstantLine


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.


Type Description

A BootstrapChartConstantLine object representing the newly created constant line.


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

See Also