I'm using Jqplot stacked bar-chart. Its working fine but the problem is for small values for both yellow and blue bars the point labels are overlapping.
can someone help me to fix this to show my both point label without overlap for both values?
Jqplot Options to reder statcked bar chart
ticks =['Jan 14', 'Feb 14', 'Mar 14', 'Apr 14', 'May 14', 'Jun 14', 'Jul 14', 'Aug 14', "Sep 14", 'Oct 14', 'Nov 14', 'Dec 14'];
var s1 = [73, 112, 307, 849, 1591, 1016, 647, 445, 60, 30, 10, 1];
var s2 = [4338, 5114, 3484, 2282, 89, 35, 8, 3, 2, 1, 1, 0];
plot3 = $.jqplot('chart3', [s1, s2], {
// Tell the plot to stack the bars.
seriesColors: [ "rgb(255, 78, 80) ", "rgb(29, 171, 54)"],
animate: !$.jqplot.use_excanvas,
stackSeries: true,
captureRightClick: true,
seriesDefaults:{
renderer:$.jqplot.BarRenderer,
rendererOptions: {
// Put a 30 pixel margin between bars.
barMargin: 30,
highlightMouseDown: true
},
pointLabels:{ show:true, stackedValue: false }
},
series:[
{label:'Inflight'},
{label:'Completed'}
],
axes: {
xaxis: {
ticks: ticks,
renderer: $.jqplot.CategoryAxisRenderer
},
yaxis: {
padMin: 0
}
},
legend: {
show: true,
location: 'n'/*,
placement: 'outside'*/
}
});