ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
111 stars 96 forks source link

Only show legend for a trace when visible in the plot #2712

Closed aawdls closed 2 years ago

aawdls commented 2 years ago

In 51800c12 we changed to always create all traces, and only show them when they are visible.

After this we are no longer correctly hiding the legend for a trace when the trace is hidden in the plot. This commit fixes this issue.

kasemir commented 2 years ago

Thanks!