A Horizontal Bar chart showing custom inbar labels (canvas version)

This is a canvas version of the SVG demo which shows a similar chart . Previously an amount of custom ccoding was necessary to achieve the inbar labels. It's now however been added to the Horizontal Bar chart so it's just a matter of specifying an option.

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.key.js"></script>
<script src="RGraph.hbar.js"></script>
Put this where you want the chart to show up:
<canvas width="950" height="300" id="cvs"></canvas>
This is the code that generates the chart: