chart
-
- Posts: 38
- Joined: 09 Mar 2015, 15:40
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 ?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please use;
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
}
}
Github Profile: https://github.com/mertsincan
-
- Posts: 38
- Joined: 09 Mar 2015, 15:40
When I make the change, the chart does not render
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;
}
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Sorry for my mistake. Please try;
I changed 'this.cfg.seriesDefaults.shadow: false;' with 'this.cfg.seriesDefaults.shadow = false;'. ( '=' instead of ':' )
Code: Select all
this.cfg.seriesDefaults.shadow = false;
this.cfg.seriesDefaults.markerOptions = {
shadow: false
};
Github Profile: https://github.com/mertsincan
-
- Posts: 38
- Joined: 09 Mar 2015, 15:40
thanks, I was able to solve, but now I have another problem with the angle, it does not obey the property "yAxisL.setTickAngle (-70);" can you help me?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
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'
}
};
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests