[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:
@@ -1,9 +1,10 @@
|
|||||||
<div class="gl-plot"
|
<span ng-controller="TelemetryController as telemetry">
|
||||||
ng-controller="TelemetryController as telemetry">
|
|
||||||
<span ng-controller="PlotController as plot"
|
<span ng-controller="PlotController as plot"
|
||||||
ng-mouseleave="representation.showControls = false">
|
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">
|
<div class="gl-plot-legend">
|
||||||
<span class='plot-legend-item'
|
<span class='plot-legend-item'
|
||||||
ng-repeat="telemetryObject in subplot.getTelemetryObjects()">
|
ng-repeat="telemetryObject in subplot.getTelemetryObjects()">
|
||||||
|
|||||||
Reference in New Issue
Block a user