| | | | Browse by category |
Question
How to have scale on every axis of a radar chart ?
Answer
The general look of a radar chart is as follows, with only one scale on the Yaxis(0):
It is however possible to have a scale on every Y axis of a radar chart by adding extra Y axes to the chart and configuring the scale for each additional axis.
You can choose to set the scale labels visible or not and to draw ticks on one side or the other of the scale, or both as below.
In order to have ticks drawn on both sides like below, two Y axes are added for each label of the chart, one hosting the ticks on the left side and the other hosting the ticks on the right side.
Attached is a sample that illustrates how to draw chart with multiple Y axes. In order to run this class, you need to add jviews-framework-all.jar and jviews-charts-all.jar, available in JView's distribution, to your java build path.