You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a WPF UserControl which implements a Livecharts BasicLine Plot and is enabled to show one or more graphs. For this I implemented a ObservableCollection and two Axis Lists. (I work with MVVMGen as boilerplate code generator)
Adding entries to this setup works pretty well. The data appears in the UI.
When removing an element (removing the specific entry in PlotData and YAxis) the data disappear in the ui.
But when removing the last entry and clearing all Collections and Lists, so that there Length is zero
the UI held the last element and does not become invisible or collapsed. The label from the entry disappears but coordinates and the last graph is still available.
When adding new Plots to the Collections and Axis Lists the UI is rebuild.
Expected behavior
When the collection is empty, the view shall be invisible.
Screenshots
after adding some data to the collections and lists:
After removing all elements from the collections and lists:
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a WPF UserControl which implements a Livecharts BasicLine Plot and is enabled to show one or more graphs. For this I implemented a ObservableCollection and two Axis Lists. (I work with MVVMGen as boilerplate code generator)
Adding entries to this setup works pretty well. The data appears in the UI.
When removing an element (removing the specific entry in PlotData and YAxis) the data disappear in the ui.
But when removing the last entry and clearing all Collections and Lists, so that there Length is zero
the UI held the last element and does not become invisible or collapsed. The label from the entry disappears but coordinates and the last graph is still available.
When adding new Plots to the Collections and Axis Lists the UI is rebuild.
Expected behavior
When the collection is empty, the view shall be invisible.
Screenshots
after adding some data to the collections and lists:
After removing all elements from the collections and lists:
The text was updated successfully, but these errors were encountered: