Table of Contents

TXlsChart.SetDataLabelsRange Method

Sets the range of cells for a "Label Contains: " "Value from Cells" option in the labels. Note that for this to work, you also need to use the string [CELLRANGE] in the label definition.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsChart.SetDataLabelsRange(const chartIndex: Integer; const seriesIndex: Integer; const value: TDataLabelsRange);

Parameters

<-> Parameter Type Description
const chartIndex Integer Index of the chart (1 based). Must be bigger than 0 and less-or-equal than IExcelChart.SubchartCount
const seriesIndex Integer Index of the series in the chart (1 based). Must be bigger than 0 and less-or-equal than IExcelChart.SeriesInSubchart
const value TDataLabelsRange Value of the range for the series.

See also