Skip to main content

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

NuGet Package: DevExpress.Web.Mvc5

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