From: luukkainen Date: Thu, 13 Feb 2014 12:58:16 +0000 (+0000) Subject: Pie Charts show numeric values in legends X-Git-Tag: 1.8.1~140 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=b67eed28fcb822e29d45bbf417bdc2d7bd4a3861;p=simantics%2Fsysdyn.git Pie Charts show numeric values in legends Sulca specific chart types refs #8417 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28834 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/AbstractPlot.java b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/AbstractPlot.java index c00907da..ebfba892 100644 --- a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/AbstractPlot.java +++ b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/AbstractPlot.java @@ -141,6 +141,12 @@ public abstract class AbstractPlot implements IPlot { return plot; } + + @Override + public void configurePlot() { + // TODO Auto-generated method stub + + } protected class PlotProperties { public ArrayList ranges; @@ -194,6 +200,7 @@ public abstract class AbstractPlot implements IPlot { @Override public void run() { setPlotProperties(result); + configurePlot(); } }); } diff --git a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/IPlot.java b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/IPlot.java index 2fb7d1eb..c040a5f5 100644 --- a/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/IPlot.java +++ b/org.simantics.jfreechart/src/org/simantics/jfreechart/chart/IPlot.java @@ -38,4 +38,6 @@ public interface IPlot extends IJFreeChartComponent { */ public Resource getResource(); + public void configurePlot(); + }