ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > CurrencyFormatterParameters

CurrencyFormatterParameters interface

Formats axis tick labels into currency. e.g. 1000 -> $1,000.00

Signature:

export interface CurrencyFormatterParameters 

Properties

PropertyTypeDescription
currencyCodestringthree letter ISO code for which currency symbol to use. Undefined by default. If undefined, will take user's locale's currency code.
decimalnumbernumber of decimal points to include in the formatted number. Integers will have x number of 0's appended. e.g. decimal(2) 1000 -> $1,000.00
negativestringif equal to "parentheses", negative numbers are displayed in parentheses. -1000 -> ($1,000) Otherwise negative numbers are displayed with a minus.
  • CurrencyFormatterParameters interface
  • Properties
Copyright © 2019 ActiveViam