Drawing a scale on every axis of a radar chart

Article ID: 2412
Last updated: 29 May, 2018
Article ID: 2412
Last updated: 29 May, 2018
Revision: 3
Views: 1602
Posted: 05 Aug, 2014
by Dean J.
Updated: 29 May, 2018
by Gargani A.

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.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2412
Last updated: 29 May, 2018
Revision: 3
Views: 1602
Posted: 05 Aug, 2014 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Attached files


Others in this category