Jamie Gan
Jamie Gan

Reputation: 57

Can Chart.js combines Line Chart and Bar Chart in one canvas

I am trying to use Chart.js to display the data of Blood pressure, which include three sets of data(pulse, systolic, diastolic). the pulse data should display as line chart while systolic, and diastolic will be in bar chart. So I wondering there should be a way to combine them together.

PS. the updated Chart js provide the Stacked Bar Chart, which is pretty good to learn as the beginning of customizing Chart js.

Upvotes: 6

Views: 5212

Answers (1)

William Entriken
William Entriken

Reputation: 39263

No you cannot, as is documented by this outstanding issue.

https://github.com/nnnick/Chart.js/issues/799

Upvotes: 1

Related Questions