SteelSeries Gauges: Difference between revisions

7 bytes removed ,  11:40, 19 December 2012
Line 115: Line 115:
== Adding a Wind Rose 'gauge' ==
== Adding a Wind Rose 'gauge' ==


From release 2.0 I have integrated the Wind Rose 'gauge' into the standard 'package' but it is disabled<br>by default. To enable the Wind Rose you have to make the following changes...  
From release 2.0 I have integrated the Wind Rose 'gauge' into the standard 'package' but it is disabled by default. To enable the Wind Rose you have to make the following changes...  


1. Edit gauges-ssT.htm and remove the comment from around the 'radar' scripts towards the end of the<br> document. Change...<br> &lt;!--<br> &lt;script src="scripts/windrose.js"&gt;&lt;/script&gt;<br> &lt;script src="scripts/RGraph.common.core.min.js"&gt;&lt;/script&gt;<br> &lt;script src="scripts/RGraph.radar.min.js"&gt;&lt;/script&gt;<br> --&gt;<br> To...<br> &lt;script src="scripts/windrose.js"&gt;&lt;/script&gt;<br> &lt;script src="scripts/RGraph.common.core.min.js"&gt;&lt;/script&gt;<br> &lt;script src="scripts/RGraph.radar.min.js"&gt;&lt;/script&gt;  
1. Edit gauges-ssT.htm and remove the comment from around the 'radar' scripts towards the end of the document. Change...
    &lt;!--
      &lt;script src="scripts/windrose.js"&gt;&lt;/script&gt;
      &lt;script src="scripts/RGraph.common.core.min.js"&gt;&lt;/script&gt;
      &lt;script src="scripts/RGraph.radar.min.js"&gt;&lt;/script&gt;
    --&gt;
  To...
    &lt;script src="scripts/windrose.js"&gt;&lt;/script&gt;
    &lt;script src="scripts/RGraph.common.core.min.js"&gt;&lt;/script&gt;
    &lt;script src="scripts/RGraph.radar.min.js"&gt;&lt;/script&gt;  


2. Edit gauges.js, and change...<br> showRoseGauge&nbsp;: false,<br> To...<br> showRoseGauge&nbsp;: true,  
2. Edit gauges.js, and change...
    showRoseGauge&nbsp;: false,
  To...
    showRoseGauge&nbsp;: true,  


That's it, the Wind Rose should now display on your page.
That's it, the Wind Rose should now display on your page.


== Altering the gauge 'layout' on the page ==
== Altering the gauge 'layout' on the page ==