ChartDirector 7.1 (.NET Edition)

BaseMeter.setLabelFormat


Usage

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

Description

Sets the format of the labels computed by ChartDirector.

The method is mainly used when BaseMeter.setScale is used, in which case the label values are not directly specified but are computed by ChartDirector. For example, a format string of "{value|2}" will format the values with 2 decimal places.

Please refer to Parameter Substitution and Formatting on all available format parameters.

Arguments

ArgumentDefaultDescription
formatString(Mandatory)The format string.

Return Value

None