Previously this involved a fair amount of code - though as of version 6.03 it's a case of
specifying a single option: adjustableXonly
(and optionally increasing the
hotspot size with the tooltipsHotspotSize
option)
<script src="RGraph.common.core.js"></script> <script src="RGraph.line.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="650" height="250"> [No canvas support] </canvas>This is the code that generates the chart - it should be placed AFTER the canvas tag(s):