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

#7026

Hi,

You can calculate the height and width of Carousel DOM element and use these values as the height and width of Charts. By doing this canvas will render the chart with Carousel’s height and width instead of default (500*400). Here is an example.


Anjali