ChartDirector 7.1 (.NET Edition)

Layer.setDataLabelFormat


Usage

[C#]public void setDataLabelFormat(string formatString);
[VB]Public Sub setDataLabelFormat(formatString As String)

Description

Sets the data label format.

This method affects all data labels in the layer. To set the label format for one particular data set only, use DataSet.setDataLabelFormat.

Data labels are text used label data points in the layer. Please refer to Layer.setDataLabelStyle for a more detail description.

By default, the data label format is "{value}". Please refer to Parameter Substitution and Formatting on available parameters and how to format them.

Arguments

ArgumentDefaultDescription
formatString(Mandatory)The format string.

Return Value

None