chart
Posted: 07 Dec 2016, 13:31
I can not use the property "setShowPointLabels (true);" When I'm using skinChart JS in "setExtender ("skinChart");" I need to show the labels using skinChart JS but I can not, how should I do ?
Code: Select all
// in our skinChart() method
this.cfg.seriesDefaults.shadow: false;
this.cfg.seriesDefaults.markerOptions = {
shadow: false
}
instead of
this.cfg.seriesDefaults = {
shadow: false,
markerOptions: {
shadow: false
}
}
Code: Select all
function skinChart() {
this.cfg.shadow = false;
this.cfg.seriesColors = ['#FFA500','#27aae1','#33ccff','#9fadb5'];
this.cfg.grid = {
background: '#f3f5f7',
borderColor: '#e5ebf0',
gridLineColor: '#e5ebf0',
shadow: false
};
this.cfg.axesDefaults = {
rendererOptions: {
textColor: '#9fadb5'
}
};
this.cfg.seriesDefaults.shadow: false;
this.cfg.seriesDefaults.markerOptions = {
shadow: false
}
}
function skinPie() {
this.cfg.seriesColors = ['#dae8ef','#27aae1','#33ccff','#9fadb5'];
this.cfg.grid = {
background: '#ffffff',
borderColor: '#eaeaea',
gridLineColor: '#e5ebf0',
shadow: false,
borderWidth: 0
};
this.cfg.seriesDefaults.shadow = false;
}
Code: Select all
this.cfg.seriesDefaults.shadow = false;
this.cfg.seriesDefaults.markerOptions = {
shadow: false
};
Code: Select all
this.cfg.axes.xaxis.tickOptions.textColor = '#9fadb5';
this.cfg.axes.yaxis.tickOptions.textColor = '#9fadb5';
instead of
this.cfg.axesDefaults = {
rendererOptions: {
textColor: '#9fadb5'
}
};