/ring-chart

A ring chart with html5 canvas

Primary LanguageJavaScript

ring-chart

一个环状图表 例子

    <canvas id="panel1"></canvas>
    <canvas id="panel2"></canvas>
    <canvas id="panel3"></canvas>
    <canvas id="panel4"></canvas>
    <canvas id="panel5"></canvas>
    <script>
        XChart("panel1", 92, 0, "#2984ad")
        XChart("panel2", 92, 0.25, "rgb(41,132,173)")
        XChart("panel3", 92, 0.5, "#000")
        XChart("panel4", 92, 0.75, "#99CCFF")
        XChart("panel5", 92, 1, "#FF5400")
    </script>

Release