LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image background for graphs/charts

Is there a way to apply an image to the background of a graph/chart? I would
like to overlay a plot on an image, which would make the vi more friendly
for users.

Thanks,

Rob




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
0 Kudos
Message 1 of 3
(3,280 Views)
> Is there a way to apply an image to the background of a graph/chart? I would
> like to overlay a plot on an image, which would make the vi more friendly
> for users.
>

You can place images pretty much anywhere on the panel or on a control.
Probably the easiest approach is to place the image behind the graph and
color the graph parts transparent. You will need to color both the
graph frame, the gray box, and the plot area, typically its black. If
both of these are transparent, the graph will draw
slower than before, but it should look correct.

To integrate the image a bit more with the graph, you can use the
control editor to place the picture behind the black plot area, but in
front of the frame, then color just the plot area transparent. This
means that the
image and control will stick together better. Its also
possible to import the image into some area of the graph, and this will
even allow for scaling, but this will work best if imported into the
frame as the graph cheats with the plot area and doesn't really draw
that image each time.

Greg McKaskle
0 Kudos
Message 2 of 3
(3,280 Views)
Thanks for the tip on the transparency feature. It works great!

Also, I'll try your suggestion about the x-y graphing.

Rob




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
0 Kudos
Message 3 of 3
(3,280 Views)