Normal
Problem gelöst:Man muss sich eine Subchartobjekt ( plot.getPieChart(); ) besorgen.Im Subchartobjekt kann man dann auf den Titel zugreifen.Gruss Hein_nieH[CODE=java] MultiplePiePlot plot=(MultiplePiePlot)chart.getPlot(); JFreeChart subchart=plot.getPieChart(); PiePlot pieplot=(PiePlot) subchart.getPlot(); Font subchartFont=new Font("Arial", Font.PLAIN, 10); subchart.setBackgroundPaint(Color.GREEN); subchart.getTitle().setFont(subchartFont);[/CODE]
Problem gelöst:
Man muss sich eine Subchartobjekt ( plot.getPieChart(); ) besorgen.
Im Subchartobjekt kann man dann auf den Titel zugreifen.
Gruss Hein_nieH
[CODE=java] MultiplePiePlot plot=(MultiplePiePlot)chart.getPlot();
JFreeChart subchart=plot.getPieChart();
PiePlot pieplot=(PiePlot) subchart.getPlot();
Font subchartFont=new Font("Arial", Font.PLAIN, 10);
subchart.setBackgroundPaint(Color.GREEN);
subchart.getTitle().setFont(subchartFont);[/CODE]