Things to release at a wedding
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="600" height="250">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.Bar({
id: 'cvs',
data: [50,40,10,-25,-50,50],
options: {
colors: ['black'],
yaxisLabelsSpecific: ['Very cool', '','','','','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','','','','','Uncool'],
marginLeft: 100,
marginBottom: 135,
variant: 'sketch',
variantSketchVerticals: false,
textFont: 'Comic sans MS',
textSize: 16,
linewidth: 1.25,
backgroundGrid: false,
labelsAbove: true,
labelsAboveSpecific: ['Butterflies', 'Doves', 'Pidgeons', 'Wasps', 'Prisoners', 'The Kraken']
}
}).draw();
</script>