PDA

View Full Version : need help for creating Pie chart within Ext.XTemplate tpl



pogobaba
8 Oct 2012, 5:52 AM
Hi All,
I have basic knowledge of Extjs. I want to create a horizontal slide show in extjs 4.1 that will have some data that will come from store and a pie chart within each div.
For this i used jquery plugin for the slideshow format for a static data that was present in html.
For the purpose of showing multidata, i tried to use tpl that will create a template for the each div.
Now, my issue is that how i can call pie chart component within tpl xTemplate. :-?

Could anybody suggest me steps to follow for the same.

Thanks in advance :)

mitchellsimoens
10 Oct 2012, 9:33 AM
You would have to user renderTo on the chart to render it into an element created with the xtemplate