An SVG Line chart using a logarithmic scale

Here we have a logarithmic Line chart with a scale that goes from 0 - 1,000,000 allowing you to show some greatly differing values. To use this sort of chart you need to convert your data into the correct format first. There's an RGraph.SVG.log() function in the RGraph libraries that you can use to convert your data into the correct format. There's a demonstration in the code below - it's very simple.

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