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

Documentation: Docs for Mixed chart types #2825

Closed
GRiMe2D opened this issue Jun 22, 2016 · 6 comments · Fixed by #3110
Closed

Documentation: Docs for Mixed chart types #2825

GRiMe2D opened this issue Jun 22, 2016 · 6 comments · Fixed by #3110

Comments

@GRiMe2D
Copy link

GRiMe2D commented Jun 22, 2016

Homepage of Chart.js introduces mixed chart types. But in documentation there is no information about it. It would be great, if you add api specs and examples for mixed chart type usage.
screen shot 2016-06-22 at 5 31 51 pm

@panzarino
Copy link
Contributor

There is no official documentation on the website yet, but you can check out this example for now.

@nageebt
Copy link

nageebt commented Aug 5, 2016

For a mixed bar/line graph, I'm having a bit of troubles with the options{} object, specifically barPercentage & categoryPercentage... should chart-type-specific options still go in the chart options object, or should they be in their own options object within the datasets array?

@panzarino
Copy link
Contributor

I'm adding this to my new doc update coming soon (I've been saying that for a while but it really is coming soon)

@nageebt
Copy link

nageebt commented Aug 5, 2016

Thank you!

Until the doc update happens, is there a general rule on where the options are extended from in the combo chart?

@panzarino
Copy link
Contributor

Honestly, I don't know. That's a question for @etimberg. I'll be sure to include the answer in the new doc updates.

@etimberg
Copy link
Member

etimberg commented Aug 5, 2016

The options are extended from the overall chart type. If the chart type is 'bar' then the bar defaults are used even if there is a line dataset

exwm pushed a commit to exwm/Chart.js that referenced this issue Apr 30, 2021
Adds a lot of new information to the docs that will help developers better utilize the entire Chart.js library

List of implemented changes:
 - Reverse option for legends (resolves chartjs#3102)
 - Information about chart resizing (resolves chartjs#3023)
 - Mixed chart types (resolves chartjs#2825) (resolves chartjs#2431)
 - Chart library comparison table (resolves chartjs#2605)
 - getDetasetMeta function information (resolves chartjs#2521)
 - Popular Extensions (resolves chartjs#2365)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants