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
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() });