This is a demo of a filled Line chart that's using the filledClick
option
to add an event listener to the fill (so that when you click on it, it runs a
function that you define). There's no vertical grid lines either.
<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: 850px; height: 400px; background-color: black" id="chart-container"></div>This is the code that generates the chart: