Skip to content

howto doughnut plot

Erich Seifert edited this page Mar 14, 2016 · 1 revision

How can I create a doughnut plot?

In GRAL a donut or doughnut plot is merely a pie plot with a hole in its center. Use the innerRradius property to change the radius relative to the outer radius:

PiePlot plot = new PiePlot(data);
plot.setInnerRradius(0.4);