An SVG version of an older filled demo chart
This is an SVG version of an older canvas based demo that has been updated to be a bit more up-to-date style wise.
The vertical lines on the grid have been removed, the X and Y axes have been removed and instead of being angular the line is now a spline (ie its curvy).
Also, it now uses the
trace() animation effect. The chart is filled and the
filledAccumulative option is set to true so that the three datasets are
stacked on top of each other.
Other than this there's a key, a title and the
yaxisScaleUnitsPost has been set.
<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="width: 600px; height: 300px" id="cc"></div>This is the code that generates the chart: