Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Add missing thousands separator in charts Y-axis (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Jan 17, 2019
1 parent 4991fad commit 9a39930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/chart/index.js
Expand Up @@ -272,13 +272,13 @@ class Chart extends Component {

switch ( valueType ) {
case 'average':
yFormat = '.0f';
yFormat = ',.0f';
break;
case 'currency':
yFormat = '$.3~s';
break;
case 'number':
yFormat = '.0f';
yFormat = ',.0f';
break;
}
return (
Expand Down

0 comments on commit 9a39930

Please sign in to comment.