I created a graph of xy line chart by this code:
JFreeChart chart = ChartFactory.createXYLineChart(
"", // chart title
"Viscosity @25 C°", // x axis label
"Tg C°", // y axis label
dataset, // data
PlotOrientation.VERTICAL,
true, // include legend
true, // tooltips
false // urls
);
Now after I created it, I want to change the type to SpiderWebPlot
. How to do this?
I tried to create in chart variable the spiderWebPlot
, but it din't work.