I would like to display integers only on my linechart and I figure the useYScale hook would let me accomplish this based on the fact there is a property named integersOnly that takes a boolean.
Although the documentation is very sparse and doesn’t explain in any detail about how to use it. The useYScale hook isn’t available when importing it from @Shopify_77 /polaris-viz
Has anyone had any luck with it or know how to implement it?
I’d just like to use it with the LineChart component in my remix/react app.
(chose Online Store and Theme Development because there is no App Development board)