I propose a new method for selecting items in Plot Legend, addressing the following issue:
Currently, in the legend, users can use mouse click to show or hide individual items.
However, when there are many items and a user wants to view just one, they need to hide to the others, which requires numerous mouse clicks.
Repeating this process can be very tiring for users.
Now, there is a quicker and simpler way for users to select just one item, and I have also added a method for them to view all items again.
Additionally, I have added methods to show or hide multiple items.
[New Actions]
Selecting a single item in the plot legend and automatically deselecting all others
Ctrl + Mouse Left Button Click
Selecting all items in the plot legend
Ctrl + Shift + Mouse Left Button Click
Selecting multiple items
Ctrl + Mouse Left Button Drag
Deselecting multiple items
Alt + Mouse Left Button Drag
[Demo: Selecting a single item and deselecting all others / Selecting all items]
I propose a new method for selecting items in Plot Legend, addressing the following issue:
Currently, in the legend, users can use mouse click to show or hide individual items. However, when there are many items and a user wants to view just one, they need to hide to the others, which requires numerous mouse clicks. Repeating this process can be very tiring for users.
Now, there is a quicker and simpler way for users to select just one item, and I have also added a method for them to view all items again. Additionally, I have added methods to show or hide multiple items.
[New Actions]
Selecting a single item in the plot legend and automatically deselecting all others
Selecting all items in the plot legend
Selecting multiple items
Deselecting multiple items
[Demo: Selecting a single item and deselecting all others / Selecting all items]![select_the_item_and_deselect_all_others](https://github.com/epezent/implot/assets/59576365/575d2c09-60f5-4a0f-a1da-f05b93e2810e)
[Demo: Selecting/Deselecting multiple items]![multiple_selection](https://github.com/epezent/implot/assets/59576365/552caee2-19ff-4153-a516-bc9b65502bb6)