fix bug - After modify setting, Process Size chart exception
authorjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 2 Sep 2015 08:21:03 +0000 (17:21 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 2 Sep 2015 08:21:03 +0000 (17:21 +0900)
Change-Id: If8f77b8f07b46f77357d2c94406f66cf5df3080d
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/chart/HeapChart.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/chart/ProcessMemoryChart.java

index 7f170fd..6da70fa 100644 (file)
@@ -137,6 +137,7 @@ public class HeapChart extends TimelineChart {
                chart.getPlot().setAxisUnitType(DAChartPlot.UnitType.BINARY);
                chart.getPlot().setShowAxis(true);
 
+               clear();
                return parentBoardItem;
        }
 
index 5d1ac34..c67aa88 100644 (file)
@@ -101,6 +101,7 @@ public class ProcessMemoryChart extends TimelineChart {
                chart.getPlot().setAxisUnitType(DAChartPlot.UnitType.BINARY);
                chart.getPlot().setShowAxis(true);
 
+               clear();
                return parentBoardItem;
        }