QCustomPlot Discussion and Comments

Selection without the highlighting Return to overview

How can I either select a line, on a multi line plot and not have it highlighted, or once I detect which line was selected, deselect it so it can be drawn in its color.

I thought not calling setSelected would do it but that does not seem to be the case. There doesn't seem to be a setselected(false) for graph.

Thanks

follow up / seems to fix
I added:

graph->setSelectionDecorator(nullptr);

This removes the decorator that is used to draw the selected line.
Now I need to try with bar plot