From 7a31930840528b38216f310b564c94e5a6ade424 Mon Sep 17 00:00:00 2001 From: "Steve L. Nyemba" Date: Mon, 12 Sep 2016 08:57:15 -0500 Subject: [PATCH] charting update --- ext/chart.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ext/chart.js b/ext/chart.js index b3413f3..3190092 100644 --- a/ext/chart.js +++ b/ext/chart.js @@ -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,22 +209,25 @@ 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: { renderer:$.jqplot.DonutRenderer, rendererOptions:{ - // fill:false, +// fill:false, sliceMargin: 3, startAngle: -90, showDataLabels: true, // dataLabels: 'value' + dataLabels:'percent' } }, legend: { show:true, location: 'e' }