1,126
edits
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 | 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 | 1. Edit gauges-ssT.htm and remove the comment from around the 'radar' scripts towards the end of the document. Change... | ||
<!-- | |||
<script src="scripts/windrose.js"></script> | |||
<script src="scripts/RGraph.common.core.min.js"></script> | |||
<script src="scripts/RGraph.radar.min.js"></script> | |||
--> | |||
To... | |||
<script src="scripts/windrose.js"></script> | |||
<script src="scripts/RGraph.common.core.min.js"></script> | |||
<script src="scripts/RGraph.radar.min.js"></script> | |||
2. Edit gauges.js, and change... | 2. Edit gauges.js, and change... | ||
showRoseGauge : false, | |||
To... | |||
showRoseGauge : 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 == |