Table of Contents

TTMSFNCBarChart.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: TTMSFNCBarChart Inherited from: TTMSFNCChart

Syntax

function AddBandSerie(AStartX, AEndX: integer; AStartValue1, AStartValue2, AEndValue1, AEndValue2: Double; AUseCommonYRange: Boolean = true; ASerieLineColor: TTMSFNCGraphicsColor = gcBlack; ASerieLineWidth: integer = 1; ASerieBandColor: TTMSFNCGraphicsColor = gcGray): TTMSFNCChartSerie;

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.