A basic Rose chart
Summary: A basic Rose chart. The Rose chart can be used as an alternative to a Radar chart if you prefer it. It has regular, stacked and non-equi-angular modes.
Here's a simple Rose chart which can be quite easily used as a traditional Wind Rose chart (ie based on a compass with larger segments indicating stronger winds).
The canvas Rose can be
non-equi-angular and there's also an SVG version
of it. The SVG version can also be configured in a
(the canvas version can't do this). There's a demo of that in the download called
Though the canvas Rose can be configured to have a 3D appearance. There's a demo of the 3D Rose online and in the download.
The SVG Rose also has a
segmentsAngleOffset property. This property allows you to
rotate the segments slightly and by using two Rose charts - one with a positive offset
and one with a negative offset you can get a grouped effect to the chart. This is shown
by a demo in the download called
For smaller screens the text is smaller and there's no CSS
float applied to the SVG tag.
This goes in the documents header:
<script src="RGraph.common.core.js"></script> <script src="RGraph.rose.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="400" height="400"> [No canvas support] </canvas>This is the code that generates the chart: