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

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 12 years, 1 month ago by Daniel Silva.