Bar chart Grow effect
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="900" height="250">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.Bar({
id: 'cvs',
data: [4,8,6,3,1,2,5],
options: {
textSize: 16,
textAccessible: true,
labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
shadowBlur: 0,
shadowOffsetx: 2,
shadowOffsety: 2,
strokestyle: 'rgba(0,0,0,0)',
backgroundGridVlines: false,
backgroundGridBorder: false,
noxaxis: true,
colors: ['Gradient(#d0d:#303)']
}
}).grow();
</script>
« Back