A 3D HProgress chart (using the 3D HBar chart)
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.hbar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="150">[No canvas support]</canvas>
This is the code that generates the chart:
<script>
new RGraph.HBar({
id: 'cvs',
data: [51],
options: {
colors: ['Gradient(#fcc:red:red)'],
variant: '3d',
marginLeft: 100,
shadow: true,
shadowOffsety: -5,
shadowOffsetx: 13,
shadowBlur: 10,
shadowColor: '#ccc',
vmargin: 10,
axes: false,
yaxisLabels: ['% Complete'],
xaxisScaleMax: 100,
xaxisScaleUnitsPost: '%'
}
}).grow();
</script>