Table of Contents

IExcelChart.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.Core

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

See also