Thanks a lot, works perfect.
There are still some strange bugs:
- The title of the legend can be updated via the input
- The legend values not for some reason I do not understand
Ad. 2: They are only updated when the code is being rerun. However, it then overlaps the old inputs, as can be seen here.
i tried to implement sth like the Redraw method, but was not successful in calling it.
230927_HUD.gh (10.6 KB)
edit: i found the solution, the values have to be cleared whenever the RunScript is called with
plotValues.Clear();
plotColors.Clear();
