An example of a Bar chart with bars-in-bars

By using two bar chart objects you can achieve a bar-in-bar effect. Here it shows the total number of cars produced versus those which are then sold. It's similar to a stacked or grouped Bar chart.

There's an SVG version of this chart here.

[No canvas support]

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: