Closed AKMaily closed 2 weeks ago
The issue lies in the fact that the legend color depends on the PopupBg
color, which is set to this value by default. As seen in the ImPlot
documentation:
A workaround needs to be developed since ImPlot does not provide an API for it.
If the value is slightly mitigated, all other popup windows in this location are also affected. Personally, I find it easier to read here as well.
If the value is slightly mitigated, all other popup windows in this location are also affected. Personally, I find it easier to read here as well.
@AKMaily , what do you think?
I think we can find a solution for this with the PopColor() and PushColor() functions, so it does not affect every other popupwindow. Maybe we can talk about this in tomorrows meeting.
The issue lies in the fact that the legend color depends on the
PopupBg
color, which is set to this value by default. As seen in theImPlot
documentation:A workaround needs to be developed since ImPlot does not provide an API for it.
I have added style changes for the legend. However, due to the color alteration, the labels of the individual scopes are hardly readable. Therefore, I have temporarily made them white. The color can still be changed. Furthermore, I have changed the location of the legend. It is now positioned in the top right corner, reducing the risk of covering parts of the plot.
The legend in the PlotRegion is to dark. A picture how the legend should look like can be found below. In the legend the names of the devices should be displayed with their corresponding color.