A 3D Bipolar chart
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bipolar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="250">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.Bipolar({
id: 'cvs',
left: [4,6,3,5,8],
right: [4,6,5,9,2],
options: {
marginCenterAutosize: false,
marginCenter: 65,
marginBottom: 80,
yaxisLabels: ['John','Luke','Pete','Jane','Fred'],
variant: '3d',
marginInner: 5,
axes: false,
colors: ['Gradient(#7CB5EC:white:#7CB5EC)']
}
}).grow();
</script>