Hi Brian,
Yes. It is called the Rose chart in our sample code.
https://www.advsofteng.com/doc/cdnet.htm#rose.htm
In the above example, all the sectors are green with an angular span of 15 degrees. If you look at the code, the angles and colors of the sectors are individually configurable, so you can certainly use different angles and colors for the sectors.
For the legend box, you can use LegendBox.addKey to add the legend key.
The code should similar to:
// Set the position of the legend box
LegendBox b = c.addLegend(......);
// Use this line if you want a bigger legend icon
b.setKeySize(30, 12);
for(int i = 0; i < data.Length; ++i) {
c.angularAxis().addZone(startAngles[i], endAngles[i], 0, data[i], sectorColor[i], sectorColor[i]);
b.addKey(name[i], sectorColor[i]);
}
For anything that you want to hide (such as the axis labels), just set their colors to Chart.Transparent.
Regards
Peter Kwan |