Open GhostApps opened 3 months ago
The hook useYScale as described in the docs https://polaris-viz.shopify.com/?path=/docs/shared-hooks--page is not exported.
I would like to be able to set a custom YAxis scale for a LineChart and I believe this is the way to do it
useYScale can be imported into my code and used to set the scale on the graph
useYScale is not exported so cannot be imported into code
import { useYScale } from "@shopify/polaris-viz";
Bug summary
The hook useYScale as described in the docs https://polaris-viz.shopify.com/?path=/docs/shared-hooks--page is not exported.
I would like to be able to set a custom YAxis scale for a LineChart and I believe this is the way to do it
Expected behavior
useYScale can be imported into my code and used to set the scale on the graph
Actual behavior
useYScale is not exported so cannot be imported into code
Steps to reproduce the problem
import { useYScale } from "@shopify/polaris-viz";