Skip to content

Commit

Permalink
feat(chart-controls): d3 formatting with .2% #1274 (#1275)
Browse files Browse the repository at this point in the history
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
  • Loading branch information
2 people authored and zhaoyongjie committed Nov 26, 2021
1 parent c31892e commit 15fbe4a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)'],
Expand Down

0 comments on commit 15fbe4a

Please sign in to comment.