Issue #1357 - fix for data plotting in the x direction.
Former-commit-id:b283362a2f
[formerlyda22ae4a5f
[formerly 862ca86596fb59ce5c0b6cbcce320303f6cda3b3]] Former-commit-id:da22ae4a5f
Former-commit-id:d4d80b0206
This commit is contained in:
parent
73fbdc6da3
commit
4d17e05653
1 changed files with 1 additions and 6 deletions
|
@ -81,12 +81,8 @@ import com.raytheon.uf.viz.stats.display.ScaleManager;
|
||||||
*
|
*
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* <<<<<<< HEAD
|
|
||||||
* Oct 3, 2012 728 mpduff Initial creation
|
|
||||||
* =======
|
|
||||||
* Oct 03, 2012 728 mpduff Initial creation.
|
* Oct 03, 2012 728 mpduff Initial creation.
|
||||||
* Jan 17, 2013 1357 mpduff Added mouse listeners.
|
* Jan 17, 2013 1357 mpduff Added mouse listeners.
|
||||||
* >>>>>>> Issue #1357 - Remaining stats items implemented.
|
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -752,8 +748,7 @@ public class StatsDisplayCanvas extends Canvas {
|
||||||
|
|
||||||
long diff = x - startMillis;
|
long diff = x - startMillis;
|
||||||
if (diff == 0) {
|
if (diff == 0) {
|
||||||
xPix = Math
|
xPix = GRAPH_BORDER;
|
||||||
.round((x / millisPerPixelX + GRAPH_BORDER));
|
|
||||||
} else {
|
} else {
|
||||||
xPix = Math
|
xPix = Math
|
||||||
.round((diff / millisPerPixelX + GRAPH_BORDER));
|
.round((diff / millisPerPixelX + GRAPH_BORDER));
|
||||||
|
|
Loading…
Add table
Reference in a new issue