A Rose chart with a shadow
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.rose.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="400" height="400">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.Rose({
id: 'cvs',
data: [4,6,3,5,2,8,9,7],
options: {
colors: ['white','black','gray','yellow','pink','blue','red'],
colorsSequential: true,
strokestyle: 'transparent',
margin: 5,
shadow: true,
shadowOffsetx: 3,
shadowOffsety: 3,
labelsAxes: 'n'
}
}).draw();
</script>
« Back