Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook useYScale is not exported / How do I set a LineChart Yaxis scale? #1714

Open
GhostApps opened this issue Aug 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@GhostApps
Copy link

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";

@GhostApps GhostApps added the bug Something isn't working label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant