Home forums Using CanvasJS Putting 2 graphs in a jquery tab control Reply To: Putting 2 graphs in a jquery tab control

#13497

Hi,

Whenever a tab is switched, the render method of each of the chart in the activated tab should be called so that chart can take the actual dimensions of its container.

In the code provided, only the render method of the first chart in both tabs are called. Therefore, the second chart in the second tab is not taking proper height.

Please check the updated jsfiddle.

Regards,
Rishabh