This chart has tickmarks (but no tooltips). They were achieved using custom events/drawing but have now been incorporated into RGraph itself.
This goes in the documents header:<script src="RGraph.common.core.js"></script> <script src="RGraph.core.dynamic.js"></script> <script src="RGraph.line.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:
<script> new RGraph.Line({ id: 'cvs', data: [[5,4,1,6,8,5,3], [4,8,6,1,3,5,7]], options: { labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], gutterLeft: 55, gutterRight: 35, gutterBottom: 35, gutterTop: 35, textAccessible: true, scaleZerostart: true, labelsOffsety: 5, tickmarks: null, backgroundGridDashed: true, shadow: null, highlightStyle: 'halo', tooltips: function () { return '\0'; } } }).draw(); </script>