A vertical line using the canvas Horizontal Bar chart with a right Y axis

[No canvas support]


This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.hbar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="700" height="350">[No canvas support]</canvas>
    
<br />
    
<button
    style="cursor: pointer; font-size: 24pt" 
    onclick="hbar.set('lineSpline', !hbar.get('lineSpline'));RGraph.clear(hbar.canvas);hbar.draw();">Toggle spline</button>
This is the code that generates the chart - it should be placed AFTER the <div> tag: