I'm new to Ext.JS and sencha touch and am having a little trouble adding charts to one of my applications. I've followed the MVC tutorial from the website and for each of my views I've ended up with something like this:
app.views.ViewName = Ext.extend(Ext.Panel, {
dockedItems: [...],
initComponent: function() {
...
app.views.ViewName.superclass.initComponent.apply(this, arguments);
}
});
What I want to do is custom drawing within the panel using Ext.draw but can't seem to get it to work. Where should I call the renderFrame() method to perform drawing and where should the code to define what is to be drawn go? If anyone could provide a small example that would be incredibly helpful.
Thanks in advance.