This Horizontal Bar chart demonstrates the new marginInner
and marginInnerGrouped
settings. The marginInner
is either
side of the group of bars whilst marginInnerGrouped
is between the bars in that group.
<script src="RGraph.common.core.js"></script> <script src="RGraph.common.dynamic.js"></script> <script src="RGraph.common.tooltips.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 id="cvs" width="600" height="600"> [No canvas support] </canvas>This is the code that generates the chart: