Issue With Ctabview And Amcharts Extension

Hello everyone!

I’ve got a CTabView which creates two tabs (“tableTab” and “graphTab”), each one rendering a different view.

tableTab contains a form and a CGridView for creating a table.

graphTab contains a call to the amCharts extension, which creates different graphs.

tableTab is my active tab (and it must stay that way).

The problem is that when I load the page, the tabs are created properly, with tableTab showing the correct information, but when I click on the second tab, it is empty. When resizing the window or loading up the Firebug tab for example, the graphs show up, without reloading the page. Also, if I set graphTab as my active tab, it loads properly.

Could someone help me with this issue?