-
Notifications
You must be signed in to change notification settings - Fork 47
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
Format values, tooltips and legends in API-based charts #782
Comments
Up |
Hello @garcia-marco, Could you please explain your issue in the community forum? It's the best place to receive help: https://community.forestadmin.com/ |
Hello, I've done a topic in the community forum now : https://community.forestadmin.com/t/format-values-tooltips-and-legends-in-api-based-charts/3168 |
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone
Expected behavior
I would like to be able to format values in € in API-based single value charts.
![Capture d’écran 2021-07-21 à 15 13 13](https://user-images.githubusercontent.com/26541750/126494407-8a6162cb-c68b-4097-9457-df7bbf5499bc.png)
I would like to be able to format tooltips and legends in other API-based charts like in the screenshot bellow. (tooltips in € and numbers with spaces in legends) (If I'm not mistaken, legends numbers have spaces at the base in chart.js)
![Capture d’écran 2021-07-21 à 15 30 49](https://user-images.githubusercontent.com/26541750/126496944-6183b7c9-92d9-4776-b667-088343a743f7.png)
I'm using chart.js on a project and I wanted to know if it's possible to use the
options
object to format tooltips :Actual behavior single value charts
![Capture d’écran 2021-07-21 à 14 39 22](https://user-images.githubusercontent.com/26541750/126489752-936c0ad2-4928-43cb-a58c-db129b8ebaab.png)
Simple charts can format numbers under the hood if it's a price display like in the screenshot. But it seems that I can't do the same thing with API-based chart. (I need more options than simple charts gives me)Actual behavior other charts
![Capture d’écran 2021-07-21 à 14 45 53](https://user-images.githubusercontent.com/26541750/126490625-d2d90f6e-9e05-4faf-b164-fdea606ecf39.png)
It seems that other API-based charts, like time based charts in the screenshot, doesn't allow to change tooltips and legends on the left.Context
Thanks in advance
The text was updated successfully, but these errors were encountered: