Skip to main content
Table of Contents

TTMSFNCStackedBarChart.AddTrendChannel Method

Adds upper and lower trend channel line series around the series at the given index; equivalent to AddTrendChannelBand but does not return the series.

API unit family: TMSFNCChart Declaring type: TTMSFNCStackedBarChart Inherited from: TTMSFNCChart

Syntax

FMX.TMSFNCChart.hppPascalC++
procedure AddTrendChannel(ASerieIndex, AStartX, AEndX: Integer; AUseCommonYRange: Boolean = True; ASerieLineColor: TTMSFNCGraphicsColor = gcBlack; ASerieLineWidth: Integer = 1);
void __fastcall AddTrendChannel(int ASerieIndex, int AStartX, int AEndX, bool AUseCommonYRange = true, TTMSFNCGraphicsColor ASerieLineColor = (System::Uitypes::TAlphaColor)(0xff000000), int ASerieLineWidth = 0x1);

Parameters

Name Description
ASerieIndex Zero-based index of the source series.
AStartX Starting x-axis point index.
AEndX Ending x-axis point index.
AUseCommonYRange When True, the channel lines participate in the common y-range calculation.
ASerieLineColor Stroke color for the channel lines.
ASerieLineWidth Stroke width in pixels.