mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
5834 stacked plot removing objects from a stacked plot will not remove them from the legend (#6022)
* Add listeners to remove stacked plot series and make keys unique Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
></div>
|
||||
<plot-legend-item-collapsed
|
||||
v-for="(seriesObject, seriesIndex) in series"
|
||||
:key="`seriesObject.keyString-${seriesIndex}`"
|
||||
:key="`${seriesObject.keyString}-${seriesIndex}`"
|
||||
:highlights="highlights"
|
||||
:value-to-show-when-collapsed="legend.get('valueToShowWhenCollapsed')"
|
||||
:series-object="seriesObject"
|
||||
@ -96,7 +96,7 @@
|
||||
<tbody>
|
||||
<plot-legend-item-expanded
|
||||
v-for="(seriesObject, seriesIndex) in series"
|
||||
:key="`seriesObject.keyString-${seriesIndex}`"
|
||||
:key="`${seriesObject.keyString}-${seriesIndex}-expanded`"
|
||||
:series-object="seriesObject"
|
||||
:highlights="highlights"
|
||||
:legend="legend"
|
||||
|
Reference in New Issue
Block a user