This is a copy of a chart that represents the UK monthly inflation rate
(these are the real figures). Not good if you have a mortgage - but on
the other hand if you're a saver its a good sign! It's using gradients,
the labelsAbove
option and a custom font. It also sets the yaxisScaleMax
property
to 3.5 so that the granularity is clearer.
<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.bar.js"></script>Put this where you want the chart to show up:
<div style="width: 750px; height: 300px" id="chart-container"></div>This is the code that generates the chart: