This Bar chart uses the ModalDialog which in turn uses the
modaldialog event which is added using DOM1 style methods.
Click on the canvas and a ModalDialog will be shown that uses the DOM1
style modaldialog event to show an alert().
<script src="RGraph.common.core.js"></script> <script src="RGraph.common.dynamic.js"></script> <script src="RGraph.modaldialog.js"></script> <script src="RGraph.bar.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="250">
[No canvas support]
</canvas>
This is the code that generates the chart: