Table of Contents

ExcelChart.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

Namespace: FlexCel.Core

public abstract void SetDataLabelsRange(Int32 chartIndex, Int32 seriesIndex, TDataLabelsRange value)

Parameters

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

See also