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 / cpuusage / CpuUsageXYViewer.java
index 57030eba8e8d73582787020f8230b7fd9b1ab070..4ec23effaba6d7332c83145f81490da78bc61540 100644 (file)
@@ -74,6 +74,8 @@ public class CpuUsageXYViewer extends TmfCommonXLineChartViewer {
     public CpuUsageXYViewer(Composite parent) {
         super(parent, Messages.CpuUsageXYViewer_Title, Messages.CpuUsageXYViewer_TimeXAxis, Messages.CpuUsageXYViewer_CpuYAxis);
         setResolution(RESOLUTION);
+        getSwtChart().getTitle().setVisible(true);
+        getSwtChart().getLegend().setVisible(false);
     }
 
     @Override
This page took 0.024827 seconds and 5 git commands to generate.