This chart has tickmarks (but no tooltips). They were achieved using custom events/drawing (which 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: { xaxisLabels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], marginLeft: 55, marginRight: 35, marginBottom: 35, marginTop: 35, yaxisScaleZerostart: true, xaxisLabelsOffsety: 5, tickmarksStyle: null, backgroundGridDashed: true, shadow: null, highlightStyle: 'halo', tooltips: function () { return '\0'; } } }).draw(); </script>