diff --git a/plugins/woocommerce-admin/packages/components/CHANGELOG.md b/plugins/woocommerce-admin/packages/components/CHANGELOG.md index e888b7bb3a9..c4224f2adad 100644 --- a/plugins/woocommerce-admin/packages/components/CHANGELOG.md +++ b/plugins/woocommerce-admin/packages/components/CHANGELOG.md @@ -10,6 +10,7 @@ - `showHeaderControls`: whether the header controls must be visible. Defaults to true. - `getColor()` method in chart utils now requires `keys` and `colorScheme` to be passed as separate params. - Fix to avoid duplicated Y-axis ticks when the Y max value was 0. +- Remove decimals from Y-axis when displaying currencies. # 1.3.0 diff --git a/plugins/woocommerce-admin/packages/components/src/chart/index.js b/plugins/woocommerce-admin/packages/components/src/chart/index.js index e45aa2e7403..d53a4f178db 100644 --- a/plugins/woocommerce-admin/packages/components/src/chart/index.js +++ b/plugins/woocommerce-admin/packages/components/src/chart/index.js @@ -275,7 +275,7 @@ class Chart extends Component { yFormat = '.0f'; break; case 'currency': - yFormat = '$.3s'; + yFormat = '$.3~s'; break; case 'number': yFormat = '.0f';