Change-Id: Ic4ac8b6ec66732986651a0483fcf3d51a54edc09
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/72302
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
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
Chart chart = getSwtChart();
chart.getAxisSet().getYAxis(0).getTick().setFormat(DataSizeWithUnitFormat.getInstance());
chart.getLegend().setPosition(SWT.BOTTOM);
+ chart.getLegend().setVisible(false);
}
@Override
*/
public TmfCommonXLineChartViewer(Composite parent, String title, String xLabel, String yLabel) {
super(parent, title, xLabel, yLabel);
+ getSwtChart().getTitle().setVisible(false);
getSwtChart().getLegend().setPosition(SWT.BOTTOM);
getSwtChart().getAxisSet().getXAxes()[0].getTitle().setVisible(false);
setResolution(RESOLUTION);