0

I have three highcharts used in EXTJS 4.1.1 application which almost use the same configs. Can I have something like

var config = {
// configurations
}

Ext.define('chartsA',{
    extend:'Ext.panel.Panel',
    items:[{
      xtype:'highcharts',
      chartConfig:{
         //  config defined above
         // customConfigs for the particluar chart (if any)
      }
    }]
});

Like this for the next two charts also.

Is there a way to do it?

user2803
  • 63
  • 9

0 Answers0