Examples of the drawing API Y axis object

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.drawing.yaxis.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.Drawing.YAxis({
        id: 'cvs',
        x: 50,
        options: {
            yaxisScaleMax: 100,
            tooltips: ['Hurrah'],
            textAccessiblePointerevents: false
        }
    }).draw();

    new RGraph.Drawing.YAxis({
        id: 'cvs',
        x: 100,
        options: {
            yaxisScaleMax: 1000,
            colors: ['#74cfb9']
        }
    }).draw();

    new RGraph.Drawing.YAxis({
        id: 'cvs',
        x: 160,
        options: {
            yaxisScaleMax: 0.001,
            yaxisScaleDecimals: 4,
            colors: ['blue']
        }
    }).draw();

    new RGraph.Drawing.YAxis({
        id: 'cvs',
        x: 250,
        options: {
            yaxisScaleMax: 0.000001,
            yaxisScaleDecimals: 7,
            xaxisPosition: 'center',
            colors: ['green']
        }
    }).draw();

    new RGraph.Drawing.YAxis({
        id: 'cvs',
        x: 300,
        options: {
            yaxisScaleMax: 0.1,
            yaxisScaleDecimals: 2,
            yaxisScaleInvert: true,
            colors: ['red']
        }
    }).draw();
</script>