An SVG Line chart showing the new (version 5.22) formatted tooltips feature

Formatted tooltips are a new feature in version 5.22 and make it super-easy to have unique tooltips but using just one specification in your configuration (as shown below).

This goes in the documents header:
<script src="RGraph.svg.common.core.js"></script>
<script src="RGraph.svg.common.tooltips.js"></script>
<script src="RGraph.svg.line.js"></script>
Put this where you want the chart to show up:
<div id="cc1" style="width: 700px; height: 450px"><div>;
<div id="cc2" style="width: 600px; height: 250px"><div>;
This is the code that generates the chart: