function initPlugins(plugins , options){
    if(plugins.length){
        plugins.forEach(plugin => {
            pluginsObj[plugin.name](options, plugin.config, isDemo)
        });
    }
}
Register plugins

plugins:[
{name:'chart'},
{name:'print'},
{name:'exportXlsx',config:{url:''}}
]