LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change XY graph plot color on mouse event

I want to change the colour of the XY graph plot on a mouse event on the graph. As the user clicks a plot that plot point will change colour leaving the rest of them the original colour. I have attached my VIs

----------------------------------------------------------------------------------
I have not lost my mind, it's backed up on a disk somewhere
0 Kudos
Message 1 of 2
(2,321 Views)

Hi PauldePaor, 

 

I think you may find this proves difficult functionality to implement. First off, you wont be able to change the colours of individual points. The only way to acheive this would be to make each individual point its own plot on the same graph. Please see the image below for an example of implementing this. 

 

plotcolor_xy.png

 

I'm not immedietly aware of any way to select the active plot with the mouse, but I will let you know if I come across anything. 

 

Kind regards,

Matt H
Applications Engineer
National Instruments UK
0 Kudos
Message 2 of 2
(2,282 Views)