TXlsxChart.GetDataLabelsRange Method
Returns 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
function TXlsxChart.GetDataLabelsRange(const chartIndex: Integer; const seriesIndex: Integer): 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 |