01-14-2009 03:29 PM
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
01-15-2009 06:20 AM
ptilghma -
I know you can modify programmaticaly:
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
01-15-2009 06:48 AM
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.