[Title] thread page bug fixed
authoryeongtaik.byeon <yeongtaik.byeon@samsung.com>
Mon, 3 Dec 2012 01:22:29 +0000 (10:22 +0900)
committeryeongtaik.byeon <yeongtaik.byeon@samsung.com>
Mon, 3 Dec 2012 01:22:29 +0000 (10:22 +0900)
[Desc.] chart start/end arrow bug fixed
[Issue] redmine #5322

org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chart/DACustomChartRenderer.java

index c3607f8..36fbba1 100644 (file)
@@ -904,9 +904,9 @@ public class DACustomChartRenderer {
                                arrowRect.y = barPosY + barHeight/2
                                                - imageRect.height / 2;
                                if (DACustomChartSeriesItem.SERIES_ARROW_RIGHT == arrowPosition) {
-                                       arrowRect.x = pixcelStartX - imageRect.width;
-                               } else {
                                        arrowRect.x = pixcelStartX + EVENT_WIDTH;
+                               } else {
+                                       arrowRect.x = pixcelStartX - imageRect.width;
                                }
                                gc.drawImage(arw, arrowRect.x, arrowRect.y);
                                Point p = gc.textExtent(number, SWT.DRAW_MNEMONIC);