# A basic SemiCircular Progress chart

This goes in the documents header:

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

Put this where you want the chart to show up:

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

This is the code that generates the chart:

    <script>
        new RGraph.SemiCircularProgress ({
            id: 'cvs',
            min: 0,
            max: 20,
            value: 12,
            options: {
                scaleDecimals: 1,
                unitsPost: 'Kg',
                labelsCenterSize: 30
            }
        }).draw();
    </script>

« Back