This form of highlighting originally used the tooltip RGraph event but
has now been incorporated into the Pie chart and can be added to your own
charts by setting the highlightStyle
option to outline
.
<script src="RGraph.common.core.js"></script> <script src="RGraph.common.dynamic.js"></script> <script src="RGraph.common.tooltips.js"></script> <script src="RGraph.pie.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="300" height="300"> [No canvas support] </canvas>This is the code that generates the chart - it should be placed AFTER the canvas tag(s):