Skip to main content

Interface: NumericFormattingParams

Charting Library.NumericFormattingParams

Formatting options for numbers

Properties

decimal_sign

decimal_sign: string

String that represents the decimal part of a number. This character separates the integer part from the fractional part.

Example

"123.4" // Using a dot as the decimal sign

Example

"123,4" // Using a comma as the decimal sign

Example

"123'4" // Using an apostrophe as the decimal sign

grouping_separator

grouping_separator: string

String that represents the grouping separator for large numbers. This character separates groups of thousands to improve readability.

Example

"1 234.5" // Using a space as the grouping separator

Example

"1,234.5" // Using a comma as the grouping separator