# A basic Radar chart

This goes in the documents header:

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

Put this where you want the chart to show up:

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

This is the code that generates the chart:

    <script>
        window.onload = function ()
        {
            new RGraph.Radar({
                id: 'cvs',
                data: [4,3,8,4,6,7,5],
                options: {
                    labels: ['Jeff','Luis','Norman','Janice','Bill','Henry','Kev'],
                    textAccessible: true
                }
            }).draw();
        };
    </script>

« Back