Skip to main content

XtraChartsIndicatorCollectionExtensions.AddTrendLine(IndicatorCollection, Action<TrendLine>) Method

Adds a new trend line configured using the specified method to the specified indicators collection of a series.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public static void AddTrendLine(
    this IndicatorCollection collection,
    Action<TrendLine> indicatorAction
)

Parameters

Name Type Description
collection IndicatorCollection

A collection of indicators to which a new indicator will be added.

indicatorAction Action<TrendLine>

A delegate method configuring a TrendLine object.

Remarks

Note

This method is an extension method.

See Also