A Line chart using the the drawing API Y axis

[No canvas support]

Formerly an API function - the RGraph drawing API now supports a Y axis object by which you can have multiple Y axes. Now that it's a drawing API object you can now also give the Y axis tooltips and it supports the click and mousemove events. It uses the same get() and set() methods for configuration as other drawing API objects and the chart types and is automatically redrawn as necessary so you don't need to worry about this. The full list of options is shown below.


This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.common.tooltips.js"></script>
<script src="RGraph.drawing.yaxis.js"></script>
<script src="RGraph.line.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="300">
    [No canvas support]
</canvas>
This is the code that generates the chart: