We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi sir, i want to ask is it possible to custom scales yAxis ticks label?
..... ummm, if I want the scales yAxis ticks to be a value with percentage or dollar $. Is it possible?
many thank you, sir
The text was updated successfully, but these errors were encountered:
Yes tried that by inserting this option inside your yAxes.
yAxes
ticks: { callback: function(label, index, labels) { return '$'+label/1000; // just change the '$' to % for percentage } }
Sorry, something went wrong.
Yep like @claide said, you have to create a custom callback for the xAxis ticks in your options object and pass it.
http://www.chartjs.org/docs/latest/axes/labelling.html#creating-custom-tick-formats
No branches or pull requests
Expected Behavior
Hi sir, i want to ask is it possible to custom scales yAxis ticks label?
Actual Behavior
.....
ummm, if I want the scales yAxis ticks to be a value with percentage or dollar $. Is it possible?
many thank you, sir
The text was updated successfully, but these errors were encountered: