cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in setting the ChartType dynamically in iChart

Former Member
0 Kudos

Hi Experts,

I have an iChart and I want to set only ChartType property dynamically, Applet should refresh and  trend that chart like Line,Bar,GroupBar which is selected from drop down....I am trying as follows

document.iChart.getChartObject().setChartType(chartType);

however first time Line chart is trending. If I select Bar its still trending Line chart only...I tried by reloading the applet as well onchange event of chartType dropdown. Any suggestions?

Regards,

Eswaraiah M.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Manoj,

Thanks for the reply.

yes I am doing the same. however its not working for me. If I use different display templates then its working..

Former Member
0 Kudos

Hi Eswaraiah,

Please try with adding document.iChart.updateChart(true); after

document.iChart.getChartObject().setChartType(chartType);

Hope it helps!!

Thanks & Regards,

Manoj Bilthare