An SVG Line chart with errorbars

An example of a filled and stacked Line chart using errorbars. The errorbars can have different min/max values, they can be colored differently, the width of the caps can be configured and the linewidth can be changed.

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.line.js"></script>
Put this where you want the chart to show up:
<div style="padding: 15px">
    <div style="width: 750px; height: 300px" id="chart-container"></div>
</div>
This is the code that generates the chart: