Closed stormpython closed 8 years ago
Closes #10.
Adds ability to format legend numbers.
The heatmap chart api for formating legend number is under the legendNumberFormat option.
legendNumberFormat
The options are as follows:
1. "number" (default) - 12000 => 12k 2. "bytes" - 24000000 => 24MB 3. "percentage" - 10% => 10% 4. "currency" - 12.24 => $12.24
This uses numeral.js formatting. Specifically:
1. "number" = "0a" 2. "bytes" = "0b" 3. "percentage" = "0%" 4. "currency" = "($0.00a)"
Closes #10.
Adds ability to format legend numbers.
The heatmap chart api for formating legend number is under the
legendNumberFormat
option.The options are as follows:
This uses numeral.js formatting. Specifically: