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.rose.js"></script>Put this where you want the chart to show up:
<div id="cc1" style="width: 500px; height: 300px"><div> <div id="cc2" style="width: 500px; height: 300px"><div> <div id="cc3" style="width: 500px; height: 300px"><div> <div id="cc4" style="width: 500px; height: 300px"><div>This is the code that generates the chart: