Parameter for creation of chart
{rgraph chart_name="chart" type="Bar" title="Update Chart with a click" width="600" height="300" data="5000,5000,5000,5000,6000,7000,8000,8000,11000,9000" colorsSequential="true" yaxisScaleMax="12000" variant="3d" marginBottom="105" marginLeft="70" event_script="media/plg_content_rgraph/js/test_event.js" }cvs{/rgraph}
Setting of Buttons:
<button type="button" onclick="postMessage('7000,8000,7000,4000,5000,8000,6000,10000,9000,10000', '*');">update</button> <button type="button" onclick="postMessage('5000,5000,5000,5000,6000,7000,8000,8000,11000,9000', '*');">reset</button>
Important: If you want to test this sample via copy/paste, ensure that you paste with option "paste as plain text" otherwise imbedded html-codes may invalidate your input.
go back...