# A basic Odo chart

This goes in the documents header:

    <script src="RGraph.common.core.js"></script>
    <script src="RGraph.bar.js"></script>

Put this where you want the chart to show up:

    <canvas id="cvs" width="300" height="300">
        [No canvas support]
    </canvas>

This is the code that generates the chart:

    <script>
        var odo = new RGraph.Odometer({
            id: 'cvs',
            min: 0,
            max: 100,
            value: 45,
            options: {
                textAccessible: false
            }
        }).draw();
    </script>

« Back