Shopify / polaris-viz

A collection of React and React native components that compose Shopify's data visualization system
https://polaris-viz.shopify.com
Other
322 stars 23 forks source link

xAxisOptions.integersOnly for horizontal BarChart #1609

Open Marcdj-02 opened 9 months ago

Marcdj-02 commented 9 months ago

Feature request summary

I'd like the integersOnly option on the x-axis, just like on the y-axis on the BarChart. The functionality, would be exactly the same.

Rationale

This will allow us to use the horizontal BarChart for integer numbers and prevent a case like this, which could be confusing: image


🌟 Feature requests that are not yet planned will be closed. We then use the issue’s :+1: upvotes to track and set priorities. See the contribution guidelines for more information.

tonyltf commented 8 months ago

I'd like to have this configure as well, many thanks!