tmf: Update calculation of offset and available width in XY chart
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Fri, 15 May 2015 01:23:37 +0000 (21:23 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Fri, 15 May 2015 21:40:33 +0000 (17:40 -0400)
commitd7408049cfae107bc18fc564910ee974344ad7a7
treee65529c6dde100266384f52eaec5f1052f083d40
parent9f63053402458b1706e91d9520d8c1d644b12ec1
tmf: Update calculation of offset and available width in XY chart

During window range updates the window start and end time of the
xy chart viewer used to be inconsistent with the corresponding
x-Series values. This lead to incorrect values when calculating
the point offset and available width for the time alignment during
the period of inconsistency. With this patch the offset and width
is calculated using the first and last time in the x-Series array.

Change-Id: I70eee0c08777c4b6797e2d6bbc41dd19fff05f64
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/47944
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/xycharts/TmfXYChartViewer.java
This page took 0.027986 seconds and 5 git commands to generate.