Skip to main content
Table of Contents

TTMSFNCStackedPercentageAreaChart.AddBandSerie Method

Adds a band series with explicit start and end values for both the upper and lower boundary.

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

Syntax

FMX.TMSFNCChart.hppPascalC++
function AddBandSerie(AStartX, AEndX: integer; AStartValue1, AStartValue2, AEndValue1, AEndValue2: Double; AUseCommonYRange: Boolean = true; ASerieLineColor: TTMSFNCGraphicsColor = gcBlack; ASerieLineWidth: integer = 1; ASerieBandColor: TTMSFNCGraphicsColor = gcGray): TTMSFNCChartSerie;
TTMSFNCChartSerie* __fastcall AddBandSerie(int AStartX, int AEndX, double AStartValue1, double AStartValue2, double AEndValue1, double AEndValue2, bool AUseCommonYRange = true, TTMSFNCGraphicsColor ASerieLineColor = (System::Uitypes::TAlphaColor)(0xff000000), int ASerieLineWidth = 0x1, TTMSFNCGraphicsColor ASerieBandColor = (System::Uitypes::TAlphaColor)(0xff808080));

Parameters

Name Description
AStartX Starting x-axis point index.
AEndX Ending x-axis point index.
AStartValue1 Upper boundary y value at the start.
AStartValue2 Lower boundary y value at the start.
AEndValue1 Upper boundary y value at the end.
AEndValue2 Lower boundary y value at the end.
AUseCommonYRange When True, the band participates in the common y-range calculation.
ASerieLineColor Stroke color for the band boundary lines.
ASerieLineWidth Stroke width in pixels.
ASerieBandColor Fill color for the band area between the two boundary lines.

Returns

Returned value.