Hi all,
I'm trying to highlight selected points in a scatterplots over the rest of 
them. I'm changing all points brush and pen to a transparent gray, and the 
selected ones to bright red. The problem I have is that sometimes the 
selected points lie behind unselected ones and don't show very well. I'd 
like to bring these points to the top. 

Is there something similar to setZValue() for scatterplot points? 
How would you go about doing something like this?

If I undesrtand it correctly, scatterplots are rendered by creating an 
image and drawing the points on top of it. We can access the points 
properties but the image remains the same, specially the point stacking.  
Would it be possible to wrap each point in a QGraphicsItem class to have 
access to setZValue() method?

Thanks,

Gonzalo

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/ed5c54b3-66f4-4d96-9592-450ef0dd5e72%40googlegroups.com.

Reply via email to