ngx-charts
ngx-charts copied to clipboard
vertical-bar-chart with showDataLabel wont format correctly between 1000 and 9999
Describe the bug The bar chart wont format correctly the thousand separator. Values range 1000 to 9999 wont show thousand separator, while 10000 forward will.
To Reproduce Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/vertical-bar-chart-erzcbd
- See a vertical-bar-chart with showDataLabel = true and values from 1000 to 9999
- Values wont format correctly.
Expected behavior Values from 1000 to 9999 should format as 1,000 to 9,999
Screenshots If applicable, add screenshots to help explain your problem.
Demo https://stackblitz.com/edit/vertical-bar-chart-erzcbd
ngx-charts version 17