emn178 / angular2-chartjs

Chart.js component for Angular2
MIT License
95 stars 21 forks source link

update the chart type (line/bar) dynamically #23

Closed gbourda closed 6 years ago

gbourda commented 7 years ago

Hello,

Thanks for this awesome lib!

I would like to switch dynamically between two different chart type: 'bar' and 'line'... Is it possible?

Perhaps using this.chart.chart.update() ?

Thanks for your time!

emn178 commented 7 years ago

It can't support this currently. I will add this feature later.

emn178 commented 7 years ago

add this feature into v0.3.0 . Please try it.