Skip to content

Commit

Permalink
tmf.ui: make xy chart axis more like the Theia Client
Browse files Browse the repository at this point in the history
Hide the Y axis line. This removes a harsh graphical element that
does not help trace compass.

[Removed] Remove Y axis gridline from XY charts

Change-Id: I11a52b5f65f115f7bb7684584caff08462135b94
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/202066
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
  • Loading branch information
MatthewKhouzam committed May 26, 2023
1 parent f96ed5b commit 7b5def8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public boolean forceFocus() {
return fSwtChart.getPlotArea().getControl().forceFocus();
}
};
fSwtChart.getAxisSet().getYAxis(0).setDrawAxisLine(false);
fSwtChart.getAxisSet().getXAxis(0).getGrid().setStyle(LineStyle.NONE);
fSwtChart.getPlotArea().addCustomPaintListener(new ICustomPaintListener() {

Expand Down

0 comments on commit 7b5def8

Please sign in to comment.