Merge "Issue #2633 - Keep graph data visible while resizing. Keep bottom of graph visible." into omaha_14.2.1
Former-commit-id:f45a281935
[formerly 8f3f97302417e256cd110feb4ed56ca366cb1db8] Former-commit-id:b711c35c68
This commit is contained in:
commit
0bd52b65e7
1 changed files with 5 additions and 1 deletions
|
@ -102,7 +102,8 @@ import com.raytheon.uf.viz.datadelivery.utils.DataDeliveryUtils;
|
|||
* Oct 28, 2013 2430 mpduff Add % of bandwidth utilized graph.
|
||||
* Nov 19, 2013 1531 mpduff Made graph resizable.
|
||||
* Nov 25, 2013 2545 mpduff Default to Opsnet if Network not available yet.
|
||||
* Dec 17, 2013 2633 mpduff Fix redraw problems.
|
||||
* Dec 17, 2013 2633 mpduff Fix redraw problems..
|
||||
* Jan 09, 2013 2633 mpduff On resize keep graph at bottom so data are always visible.
|
||||
* </pre>
|
||||
*
|
||||
* @author lvenable
|
||||
|
@ -1479,6 +1480,9 @@ public class BandwidthCanvasComp extends Composite implements IDialogClosed,
|
|||
cornerPointOffset.y = 0;
|
||||
}
|
||||
|
||||
cornerPointOffset.y = (graphCanvasSettings.getImageHeight() - graphCanvasSettings
|
||||
.getCanvasHeight()) * -1;
|
||||
|
||||
verticalSlider.setSelection(cornerPointOffset.y * -1);
|
||||
horizontalSlider.setSelection(cornerPointOffset.x * -1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue