[SRADA-869] Add expand button on memory charts
authordongkyu6 lee <dongkyu6.lee@samsung.com>
Wed, 6 Jul 2016 01:56:45 +0000 (10:56 +0900)
committerdongkyu6 lee <dongkyu6.lee@samsung.com>
Thu, 7 Jul 2016 04:13:56 +0000 (13:13 +0900)
Change-Id: I6111583e2bd4072cdfaacdaf28f2a0d0aa99dcd5

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/memory/chart/MemoryChartBoard.java

index e00ba0a..19a3cd8 100644 (file)
@@ -279,7 +279,7 @@ public class MemoryChartBoard extends DAChartBoard {
        private void addProcessChartItemList(int pid) {\r
                String chartName = MemoryPageLabels.MEMORY_CHART_PROCESS_MEMORY;\r
                DAChartBoardItem parentItem = new DAChartBoardItem(this, chartName, ImageResources.FEATURE_MEM_PROCESS_SMALL_NOR, DAChart.CHART_STYLE_NORMAL);\r
-               parentItem.useExpand(false);\r
+               parentItem.useExpand(true);\r
                DAChart parentDAChart = parentItem.getChart();\r
                \r
                MemoryChart processMemoryChart = new ProcessMemoryChart(MemoryPage.pageID, chartName, parentItem, parentDAChart);\r
@@ -328,7 +328,7 @@ public class MemoryChartBoard extends DAChartBoard {
                parentHeapMemoryChart.chart.getPlot().setAxisUnit("B");\r
                parentHeapMemoryChart.chart.getPlot().setAxisUnitType(DAChartPlot.UnitType.BINARY);\r
                parentHeapMemoryChart.chart.getPlot().setShowAxis(true);\r
-               parentHeapMemoryChart.chartBoardItem.useExpand(false);\r
+               parentHeapMemoryChart.chartBoardItem.useExpand(true);\r
                parentHeapMemoryChart.chart.setInformation(AnalyzerUtil.getProcessName(pid) + " / PID : " + pid);\r
                memoryChartList.add(parentHeapMemoryChart);\r
        }\r