Chart.js: Documentation: Docs for Mixed chart types

Created on 22 Jun 2016  ·  6Comments  ·  Source: chartjs/Chart.js

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

help wanted documentation

All 6 comments

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

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?

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)

Thank you!

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

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

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

Was this page helpful?
0 / 5 - 0 ratings