* @author Teemu Lempinen\r
*\r
*/\r
- private class MyPiePlot extends org.jfree.chart.plot.PiePlot {\r
+ protected static class MyPiePlot extends org.jfree.chart.plot.PiePlot {\r
\r
private static final long serialVersionUID = -5917620061541212934L;\r
\r
@SuppressWarnings({ "unchecked", "rawtypes" })\r
@Override\r
protected void setPlotProperties(PlotProperties properties) {\r
- if(!(plot instanceof MyPiePlot))\r
+ if(!(plot instanceof org.jfree.chart.plot.PiePlot))\r
return;\r
\r
- final MyPiePlot piePlot = (MyPiePlot)plot;\r
+ final org.jfree.chart.plot.PiePlot piePlot = (org.jfree.chart.plot.PiePlot)plot;\r
\r
if(!properties.datasets.isEmpty()) {\r
// We assume that a pie plot has only one dataset\r