Speedometer.NumberFormat

Syntax

NumberFormat: String;

Description

The NumberFormat property determines speedometer data format.

Comments

Use JSON to set the property value and the getBorderEnabled method to get the property value.

Example

To execute the example, the page must contain the Speedometer component with the speedometer identifier (see Example of Creating a Speedometer with a Wizard).

Get speedometer data format:

// Display data format
console.log("Format used to display the data: " + speedometer.getNumberFormat());

After executing the example, the console displays the following message:

Format used to display data: #,##0.00

See also:

Speedometer