diff --git a/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/SpiderChart.java b/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/SpiderChart.java index ff8d10be63243531bc6a36922782783a2283918f..f7bd67f9899cb96f208ef090701419b877e31f0b 100644 --- a/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/SpiderChart.java +++ b/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/SpiderChart.java @@ -220,7 +220,7 @@ public final class SpiderChart { /** configuration for repainting always */ private boolean repaintAlways = true; - /** Right MArgin */ + /** Right Margin */ private final double rightMargin = 0.125D; /** Spider Chart Label */ @@ -229,13 +229,13 @@ public final class SpiderChart { /** The data sequence to be used */ private DataSeq selectedSeq = null; - /** the data point as selected */ + /** Data point as selected */ private int selectedSeqPoint = -1; /** Show Tips on the Spider Chart Points */ - private boolean showTips = false; + private boolean showTips = true; - /** */ + /** Check refresh thread status */ private boolean stopped = false; /** Spider Chart Tip Background Color */ @@ -259,10 +259,10 @@ public final class SpiderChart { /** */ private int virtualWidth = 0; - /** */ + /** Width of the chart */ private int width = 0; - /** Scrollable Property */ + /** Scrollable Chart Property */ private boolean withScroll = false; /** Constructor */ @@ -791,7 +791,7 @@ public final class SpiderChart { this.plotters[0].x + this.plotters[0].width); this.plotters[0] .getxScale() - .setScreenMaxMargin( + .setScreenMaxMargin( (int) (this.plotters[0].getxScale().getScreenMax() * (1.0D - this.axisMargin))); if (this.fullXAxis) { this.plotters[0].getxScale().setScreenMaxMargin( @@ -804,7 +804,7 @@ public final class SpiderChart { this.plotters[0].y + this.plotters[0].height); this.plotters[0] .getyScale() - .setScreenMaxMargin( + .setScreenMaxMargin( (int) (this.plotters[0].getyScale().getScreenMax() * (1.0D - this.axisMargin))); this.plotters[0].getyScale().setScreenMin(this.plotters[0].y); } diff --git a/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/swt/SpiderChartViewer.java b/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/swt/SpiderChartViewer.java index 306b7901edc1112f82881b4b3a47822d9f163b08..aa79c169e93ccdea1cc91a4f8d760ba9909cc746 100644 --- a/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/swt/SpiderChartViewer.java +++ b/org.fortiss.tooling.spiderchart.ui/trunk/src/org/fortiss/tooling/spiderchart/swt/SpiderChartViewer.java @@ -44,7 +44,7 @@ import org.fortiss.tooling.spiderchart.listener.SpiderChartAdapter; public final class SpiderChartViewer extends Composite { /** allows zoom functionality on the chart */ - private boolean allowZoom = false; + private boolean allowZoom = true; /** the actual canvas to be used */ private SpiderChartCanvas canvas = null;