charting update

master
Steve L. Nyemba 8 years ago
parent 87189f2f9f
commit 7a31930840

@ -136,7 +136,7 @@ jx.jqplot.bar.options = function(){
rendererOptions: {
highlightMouseDown: true,
// smooth: true,
smooth: true,
animation: {
speed:900,
show: true
@ -166,7 +166,10 @@ jx.jqplot.bar.options = function(){
// show: keys.length > 1,
location: 'ne',
xoffset:2,
placement: 'outsideGrid'
placement: 'outsideGrid',
show:true
}
}
return options;
@ -182,7 +185,7 @@ jx.jqplot.bar.render = function(id,series,labels,lnames){
jx.dom.set.value(id,'')
var options = jx.jqplot.bar.options()
options.axes.xaxis.ticks = labels ;
options.legend.show = true
//options.legend.show = true
options.series = lnames;
return $.jqplot(id, series,options)
@ -206,11 +209,13 @@ jx.jqplot.stackedBar.render = function(id,series,label,lnames){
jx.jqplot.donut = {}
jx.jqplot.donut.options= function(){
var options = {
animate:true,
animateReplot:true,
grid:{
drawGridLines:false,
background:'transparent',
borderColor:'white'
borderColor:'white',
borderWidth:'1px'
},
seriesDefaults: {
@ -222,6 +227,7 @@ jx.jqplot.donut.options= function(){
startAngle: -90,
showDataLabels: true,
// dataLabels: 'value'
dataLabels:'percent'
}
},
legend: { show:true, location: 'e' }

Loading…
Cancel
Save