Chart theme avalon
Posted: 15 Feb 2018, 21:19
chart theme does not work.
Code: Select all
lineModel1.setExtender("skinChart");
Code: Select all
function skinChart() {
this.cfg.shadow = false;
this.cfg.title = '';
this.cfg.seriesColors = ['#337ab7', '#2ea59f', '#2d34a4', '#2ea563'];
this.cfg.grid = {
background: '#ffffff',
borderColor: '#ffffff',
gridLineColor: '#F5F5F5',
shadow: false
};
this.cfg.axesDefaults = {
borderWidth: 0.1,
borderColor: 'F5F5F5',
rendererOptions: {
textColor: '#292B2C'
}
};
this.cfg.seriesDefaults = {
shadow: false,
lineWidth: 1,
markerOptions: {
shadow: false,
size: 7,
style: 'circle'
}
}
}