-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
v2.0.0 dev does not support type.extend #1582
Comments
That is because you no longer extend chart types. You extend the components that make them. For instance. A simple bar graph is made up of one linear scale, one category scale and a bar controller which uses the bar element. These components are extendable. We'll be coming out with docs on all of this very soon. What are you trying to change? |
i would like to have a bar graph on horizontal. |
Cool. That's a change were planning on including soon. The work would need to be done in scale.category.js. Right now it only knows how to be horizontal. The. You could just switch the scales around on a bar chart. |
I updated the docs for creating scales / new chart types. https://github.com/nnnick/Chart.js/blob/v2.0-dev/docs/07-Advanced.md |
No description provided.
The text was updated successfully, but these errors were encountered: