A tri-color Line chart that uses clipping

This chart uses the ES6 spread operator so that there's no repetition of the configuration.

[No canvas support]

This goes in the documents header:

<script src="RGraph.common.core.js"></script>
<script src="RGraph.line.js"></script>
Put this where you want the chart to show up:
<div style="text-align: center">
    <canvas id="cvs" width="900" height="300">[No canvas support]lt/canvas>
</div>
This is the code that generates the chart - it should be placed AFTER the canvas tag(s):