feat(chart-controls): d3 formatting with .2% #1274 (#1275)

Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
This commit is contained in:
jayakrishnankk 2021-08-13 06:50:14 -05:00 committed by Yongjie Zhao
parent c31892e905
commit 15fbe4a72a

View File

@ -29,6 +29,7 @@ export const D3_FORMAT_OPTIONS: [string, string][] = [
['.1s', '.1s (12345.432 => 10k)'],
['.3s', '.3s (12345.432 => 12.3k)'],
[',.1%', ',.1% (12345.432 => 1,234,543.2%)'],
['.2%', '.2% (12345.432 => 1234543.20%)'],
['.3%', '.3% (12345.432 => 1234543.200%)'],
['.4r', '.4r (12345.432 => 12350)'],
[',.3f', ',.3f (12345.432 => 12,345.432)'],