SpiderWebPlot: Draw inner web and Tick marks
Opened this issue · 0 comments
keltik85 commented
Is it possible to produce a Spider Plot looking like this:
Unfortunatley I only came this far:
This is my code for it:
class SpiderPlotPoc {
public static void main(String[] args) {
final DefaultCategoryDataset dataset2 = new DefaultCategoryDataset();
String systemName = "HP - HP Unified Functional Testing"
dataset2.addValue(100, systemName, "Support Level")
dataset2.addValue(60, systemName, "Installation")
dataset2.addValue(100, systemName, "Support Operation")
dataset2.addValue(100, systemName, "Support SLA")
dataset2.addValue(60, systemName, "Training")
SpiderWebPlot swp2 = new SpiderWebPlot(dataset2)
swp2.setSeriesPaint(0,Color.BLUE)
JFreeChart spiderChart2 = new JFreeChart("Syse Spider Plot", JFreeChart.DEFAULT_TITLE_FONT, swp2, true);
spiderChart2.setAntiAlias(true)
File spiderChartFile2 = new File("MySpiderChart2.jpeg");
ChartUtilities.saveChartAsJPEG(spiderChartFile2, spiderChart2, 640, 480);
}
}
Problems I have:
- I can't find a function to put the 0 to 100 percent ticks into the first "spider dimension"
- I can't find a function to draw the grid
- I cant find a function to lower the transparency of the spanned polygon
Is this stuff implemented or do I have to code it by myself or wait for someone to do it?