# A Pie chart with gradients

This Pie chart shows you how you can use gradients, shadows and segment separation combined with each other to good effect.

This goes in the documents header:

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

Put this where you want the chart to show up:

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

This is the code that generates the chart - it should be placed AFTER the canvas tag(s):