A 3D Rose chart

View the bare-bones version of this demo with any interactive features or animations enabled

Here's a novel version of the more traditional 2D Rose chart - the 3D Rose chart. It doesn't add any advantages over the 2D version - though it might make your presentations look a little nicer!

There are tooltips, which you can see by clicking on the segments as usual. These tooltips were formerly built dynamically. They still are currently however the method that's used has changed to the new (version 5.22) formatted tooltips.

This means the amount of code has been both reduced and simplified. The tooltips are created by concatenating the name (the %{property:myNames[%{index}]} bit) and the value (the %{value} bit).

In terms of responsive features, on smaller screens, it switches from 3D to 2D and is slightly smaller. The labels are changed from the full names of the weekdays to the shorter three-letter variations.

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.common.tooltips.js"></script>
<script src="RGraph.rose.js"></script>
Put this where you want the chart to show up:
<div style="float:right">
    <canvas id="cvs" width="600" height="300">[No canvas support]</canvas>
This is the code that generates the chart - it should be placed AFTER the canvas tag(s):