Dear Master,
I need your support. I tryed a simple event_script with triggered a button but it's didn't change data. I don't understand where I'm doing wrong.
jQuery(document).ready(function() { jQuery("#growed").click(function(){var data = [1,2,3]; chartcsv_bar2.data=data; chartcsv_bar2.grow();}); var chartcsv_bar2 = new RGraph.Bar( {"chart_type":"Bar","id":"csv_bar2","data":[14,7,1],"options":{"gutterLeft":40,"gutterRight":10,"gutterTop":40,"gutterBottom":120,"colors":["#0052cc","#52CCA3","#996633","#339933","#00BFFF","#66ff33","191970","#FF6600","#e60000","#008000"],"backgroundColor":"rgba(240, 240, 240, 0.4)","colorsSequential":true,"linewidth":1.5,"backgroundGrid":true,"backgroundGridColor":"#000000","scaleDecimals":0,"textAccessible":false,"titleFont":"Arial","titleSize":11,"titleColor":"#555555","textFont":"Arial","textColor":"#555555","textSize":6,"tooltipsCssClass":"rgraph_tooltips","axisColor":"#000000","titleYaxisColor":"#555555","titleXaxisSize":9,"titleYaxisSize":9,"titleXaxisPos":0.3,"titleYaxisPos":0.3,"grouping":"stacked","labelsAbove":true,"labelsAboveSize":7,"labelsAboveDecimals":0,"tooltipsEvent":"onmousemove","variant":"bar","keyBackground":"rgba(145,168,238,0.4)","unitsPost":"psc.","textAngle":45,"variantThreedAngle":0.06,"shadow":true,"bevel":true,"scalePoint":",","scaleThousand":".","labels":["PRICING -> [Registered group\nSTART and send to\nCustomer Representative group]","PRICING -> [Customer Representative group\nACCEPT and send to\nDesign group]","PRICING -> [Registered group\nREROUTE and send to\nCustomer Representative group]"],"strokestyle":"rgba(250,250,250,0.1)","xlabelsOffset":5,"tooltips":["PRICING -> [Registered group\nSTART and send to\nCustomer Representative group]<br>14 pcs.\/ Total 22 pcs.","PRICING -> [Customer Representative group\nACCEPT and send to\nDesign group]<br>7 pcs.\/ Total 22 pcs.","PRICING -> [Registered group\nREROUTE and send to\nCustomer Representative group]<br>1 pcs.\/ Total 22 pcs."]}} ).grow();
});