Each view/figure has a Default Legend
object that appears whenever an eligible plot is created or updated.
As further objects are added to, or updated in, a viewport, the Default Legend
updates to show the variable values for
the latest plot.
Only the default legend for the selected view/figure is shown in the tree view. The other default legends continue to exist, even when not displayed in the tree view.