IExcelChart.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.Core
procedure IExcelChart.SetDataLabelsRange(const chartIndex: Integer; const seriesIndex: Integer; const value: TDataLabelsRange); virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | chartIndex | Integer | Index of the chart (1 based). Must be bigger than 0 and less-or-equal than SubchartCount |
const | seriesIndex | Integer | Index of the series in the chart (1 based). Must be bigger than 0 and less-or-equal than SeriesInSubchart |
const | value | TDataLabelsRange | Value of the range for the series. |