Class: CustomNumberFormat

StockChartX. CustomNumberFormat


new CustomNumberFormat(format)

Represents custom number formatter.
Parameters:
Name Type Argument Default Description
format string <optional>
'%f' The printf-like format specification (e.g. '%d', '%5.2f').
Example
var intFormat = new StockChartX.CustomNumberFormat("%d");
var floatFormat = new StockChartX.CustomNumberFormat("%5.2f");

Extends

Members


formatString :string

Gets/Sets format string.
Type:
  • string

locale :string

The locale string (e.g. 'en-US').
Type:
  • string
Inherited From: