XtraChartsCollectionExtensions.Add(ConstantLineCollection, Action<ConstantLine>) Method

Adds a new constant line configured using the specified method to the specified constant lines collection of an axis.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll

Declaration

public static void Add(
    this ConstantLineCollection collection,
    Action<ConstantLine> constantLineAction
)

Parameters

Name Type Description
collection ConstantLineCollection

A collection of constant lines to which a new constant line will be added.

constantLineAction Action<ConstantLine>

A delegate method configuring a ConstantLine object.

Remarks

Note

This method is an extension method.

See Also