Unanswered: Help: I can't render a graph into a div
Hey Guy I'm new in Sencha-Chart i was trying to put a chart into a div in mia html page.
I saw renderTo: Ext.getBody() and now I want to put the chart into a div of the page.
I have tried renderTo:Ext.get('foo'), but does not work.
On the page I have a div with id = foo; and the dimension.
Can someone help me? I can't find any solution.
how to get an element by id
you can not use get, use getDom('id_of_the_element') instead.
It worked for me!