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

Customised Y Axis value formatter #956

Open
kushalshah-invx opened this issue Jun 14, 2023 · 3 comments
Open

Customised Y Axis value formatter #956

kushalshah-invx opened this issue Jun 14, 2023 · 3 comments

Comments

@kushalshah-invx
Copy link

We wanted to have customise y axis values which contains string formate.
We are using "react-native-charts-wrapper": "^0.5.7" version and wanted to achieve below specified view in chart.

Screenshot 2023-06-14 at 2 53 06 PM

What we have tried is:
valueFormatter: ["Too low", "Just right", "Too High"],

But no luck.

Specifications

  • Version: react-native-charts-wrapper": "^0.5.7
  • Platform: React native

Please advice solution for this.
Thank you

@wuxudong
Copy link
Owner

I think limitLines can help.
image

@kushalshah-invx
Copy link
Author

@wuxudong Thanks for the quick reply I will check this property now.

@kushalshah-invx
Copy link
Author

@wuxudong We checked the suggested solution but it is related to limit lines so this will not work in our case.
What we are looking at is customise the Y axis values as per our needs. If you look at the attached screen shot we need to show "Too low", "Just right" & "Too high".
Please help us to achieve this.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants