Add missing thousands separator in charts Y-axis (https://github.com/woocommerce/woocommerce-admin/pull/1312)
This commit is contained in:
parent
da22cbdc9d
commit
0cda85b997
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue