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
Legend sort function #9505
Comments
It is working in the same way normal sorting with |
Hi @LeeLenaleee , thanks a lot for your example! |
That is just how the sort function works, if you want to know more about it click on the sort link in my first comment, there you can read more about it in the official dpcumentation |
We can add the example as part of the documentation. It is quite explanatory. |
I don't understand why the chartjs function should work as the sort native javascript function cause the receiving parameters are different. |
Documentation Is:
Please Explain in Detail...
Not knowing the return value of sort function.
Your Proposal for Changes
Add an example of how it works the sorting of legend with some examples
Example
https://www.chartjs.org/docs/latest/configuration/legend.html#legend-title-configuration
The text was updated successfully, but these errors were encountered: