Hi,
I'm learning how to use the Charting module of ExtJS 4.1.1, and I was wondering if I could create my own themes using my application's namespace (Kiwi).
My folder structure is this :
Code:
app/controller/
model/
store/
view/
chart/
themes/
So I was wondering if I could define my themes like this :
Code:
Kiwi.view.chart.theme.Custom = Ext.extend(Ext.chart.theme.Base, {
constructor: function(config) {
Ext.chart.theme.Base.prototype.constructor.call(this, Ext.apply({
colors: colors
}, config));
}
});
And then give some parameter to the chart, so he can find the theme
Any advice appreciated.
Thanks.
Romain