Home forums Report Bugs CanvasJs donut chart size is different in second slide of Bootstrap3 carousel Reply To: CanvasJs donut chart size is different in second slide of Bootstrap3 carousel

#6996

Daniel Silva
Participant

You have to call chart.render() after each slide change.

$('#myCarousel').carousel({
    interval: 2000
});

$('#myCarousel').bind('slid', function() {
    //get the chart object and use chart.render()
});​
  • This reply was modified 2 years, 3 months ago by  Daniel Silva.