1,126
edits
No edit summary |
|||
Line 31: | Line 31: | ||
The Wind Rose is based on the RGraph Rose component, in windrose.js you will find a line (around line 160 as of v2.2.2) like this: | The Wind Rose is based on the RGraph Rose component, in windrose.js you will find a line (around line 160 as of v2.2.2) like this: | ||
rose.Set('chart.colors', ['Gradient(gray:red)']); | rose.Set('chart.colors', ['Gradient(gray:red)']); | ||
This controls the colour of the plot sectors. Please refer to the | This controls the colour of the plot sectors. Please refer to the RGraph website for information on [http://www.rgraph.net/docs/howto-gradient-syntax.html how to use the gradient syntax]. | ||
== How do I alter the gap between the Wind Rose sectors? == | == How do I alter the gap between the Wind Rose sectors? == |