tmf.ui: hide title and legend in swtcharts by default
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.ui / src / org / eclipse / tracecompass / internal / analysis / os / linux / ui / views / kernelmemoryusage / KernelMemoryUsageViewer.java
index 483e0e4b1609a56013cbee0a35d77dc52eae3fa8..7c75d9ce08a4206a0387f0527fba3b61fc8d2dad 100644 (file)
@@ -54,6 +54,7 @@ public class KernelMemoryUsageViewer extends TmfCommonXLineChartViewer {
         Chart chart = getSwtChart();
         chart.getAxisSet().getYAxis(0).getTick().setFormat(DataSizeWithUnitFormat.getInstance());
         chart.getLegend().setPosition(SWT.BOTTOM);
+        chart.getLegend().setVisible(false);
     }
 
     @Override
This page took 0.023648 seconds and 5 git commands to generate.