mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
[Plot] Change style when stacked
Change plot style when in stacked plot mode, such that plots stack as expected. (Without this change, the gl-plot class's height of 100% will cause all plots to fill the full vertical space, effectively acting overlaid.) WTD-625.
This commit is contained in:
parent
cd8deca1b3
commit
1b6ce10dd9
@ -1,9 +1,10 @@
|
||||
<div class="gl-plot"
|
||||
ng-controller="TelemetryController as telemetry">
|
||||
<span ng-controller="TelemetryController as telemetry">
|
||||
<span ng-controller="PlotController as plot"
|
||||
ng-mouseleave="representation.showControls = false">
|
||||
|
||||
<span ng-repeat="subplot in plot.getSubPlots()">
|
||||
<div class="gl-plot"
|
||||
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
|
||||
ng-repeat="subplot in plot.getSubPlots()">
|
||||
<div class="gl-plot-legend">
|
||||
<span class='plot-legend-item'
|
||||
ng-repeat="telemetryObject in subplot.getTelemetryObjects()">
|
||||
|
Loading…
Reference in New Issue
Block a user