tmf.ui: make CommonXLineChartViewer hide the X axis label by default.
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / viewers / xycharts / linecharts / TmfCommonXLineChartViewer.java
index 6342a2b96aee23c2a82648a592fcb0f242965b04..9671165c8e08d2d663300eb63b1deabf09f3f650 100644 (file)
@@ -80,7 +80,8 @@ public abstract class TmfCommonXLineChartViewer extends TmfXYChartViewer {
      */
     public TmfCommonXLineChartViewer(Composite parent, String title, String xLabel, String yLabel) {
         super(parent, title, xLabel, yLabel);
-
+        getSwtChart().getLegend().setPosition(SWT.BOTTOM);
+        getSwtChart().getAxisSet().getXAxes()[0].getTitle().setVisible(false);
         setResolution(RESOLUTION);
         setTooltipProvider(new TmfCommonXLineChartTooltipProvider(this));
     }
This page took 0.042536 seconds and 5 git commands to generate.