mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 07:38:15 +00:00
[Plots] Zooming on plot causes console errors - Duplicates in a repeater are not allowed #2473 (#2474)
This commit is contained in:
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<mct-ticks axis="yAxis">
|
<mct-ticks axis="yAxis">
|
||||||
<div ng-repeat="tick in ticks track by tick.text"
|
<div ng-repeat="tick in ticks track by tick.value"
|
||||||
class="gl-plot-tick gl-plot-y-tick-label"
|
class="gl-plot-tick gl-plot-y-tick-label"
|
||||||
ng-style="{ top: (100 * (max - tick.value) / interval) + '%' }"
|
ng-style="{ top: (100 * (max - tick.value) / interval) + '%' }"
|
||||||
title="{{:: tick.fullText || tick.text }}"
|
title="{{:: tick.fullText || tick.text }}"
|
||||||
@ -213,7 +213,7 @@
|
|||||||
}">
|
}">
|
||||||
|
|
||||||
<mct-ticks axis="xAxis">
|
<mct-ticks axis="xAxis">
|
||||||
<div ng-repeat="tick in ticks track by tick.text"
|
<div ng-repeat="tick in ticks track by tick.value"
|
||||||
class="gl-plot-tick gl-plot-x-tick-label"
|
class="gl-plot-tick gl-plot-x-tick-label"
|
||||||
ng-style="{
|
ng-style="{
|
||||||
left: (100 * (tick.value - min) / interval) + '%'
|
left: (100 * (tick.value - min) / interval) + '%'
|
||||||
|
Reference in New Issue
Block a user