ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Icon / Marker / Point-style on Graph

Is there a way I can use a custom icon (or point-style) on a graph or chart?  I want to place a series of points on an XY-Graph but I don't want to use any of the built-in point styles, I want to use a .gif file I have.  I have toyed with the idea of converting an XY position to a screen position (in pixels) and hiding / showing an icon already on the front panel, and moving it.  This seemed like a bit of a hack to me, I'm hoping there's a better way.

 

Thanks

0 Kudos
Message 1 of 3
(5,267 Views)

ptilghma -

 

I know you can modify programmaticaly:

 

  • Graph palette
  • Plot legend (waveform chart, waveform graph, xy graph, and digital waveform graph only)
  • Scrollbar (charts only)
  • Blinking plot
  • Label scroll position
  • Active X/Y Scale

 

Using property nodes  but I don't think that it modifies the icon.

I think mapping out the screen and applying some sort of logic to replace the points is your only way out.

Here is a link describing the use of property nodes in graphs

 

http://digital.ni.com/public.nsf/websearch/A0525AF9D64408F186256BFB005970EB?OpenDocument 

 

 

Best Regards

 

Bruno Noronha

Bruno Noronha

Certified LabVIEW Associate Developer





Using LabVIEW 8.6
0 Kudos
Message 2 of 3
(5,242 Views)

One of the guys here at A&E Brazil found a SubVI that might work for you.

 

Open the Control Pallete and go to

 

Modern>>Graph>>Controls>>Distribution Plot Indicator. Here you have a case structure where it already has some points such as squares, circles, etc. The SubVI draws each of the shapes used.

 

Explore this SubVI I think if you can modify or add another case you could import your image.

Bruno Noronha

Certified LabVIEW Associate Developer





Using LabVIEW 8.6
0 Kudos
Message 3 of 3
(5,234 Views)