LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

classic plot legend transparent background

Solved!
Go to solution

So I want to do some custom annotations to a graph using a picture control behind a graph. Since I like the classic graph’s look, I’m using the classic graph (but this is not necessarily necessary –is that correct English?).

So my problem is this: When I make the graph BG transparent (to show the picture control with the custom graphics on it), the plot legend also shows the transparent BG in the little preview graph next to the plot name. Unfortunately, NI has placed the Visible Boolean behind this preview such that when you make the BG transparent, you see an old-school Boolean switch behind the damn plot example! This looks totally unacceptable. Is there any way to keep the BG from changing in the plot legend or any other way to fix this?

Thanks!

-Richard

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
0 Kudos
Message 1 of 8
(4,434 Views)
Do you have an example of your code so that I can mess around with it to see what I can do?
Tim
GHSP
0 Kudos
Message 2 of 8
(4,430 Views)
Instead of making the graph's background transparent, could you just manually change the order, and move the graphic forward, and move the graph behind?
Cory K
0 Kudos
Message 3 of 8
(4,429 Views)

Here's an example of what I'm talking about. Notice how the plot legend exposes the Visible Boolean when you make the BG transparent. Try to imagine that the picture control actually has something useful in it...

 

I suppose it might be possible to take a screenshot of the graph and then bring the picture control to the front with some sort of superposition of the screen shot and the image, but this seems like too much work and possibly prone to errors.

 

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
0 Kudos
Message 4 of 8
(4,411 Views)
Solution
Accepted by topic author rwunderl
Have you tried using PlotImages.Back to add the picture to the graph?
0 Kudos
Message 5 of 8
(4,407 Views)

Hmmmm.... Well now I feel a little stupid.

 

This is exactly what I needed. Thanks!!

_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
0 Kudos
Message 6 of 8
(4,401 Views)
By the way, here's that code if anyone is interested...
_______________________________________________________________
"Computers are useless. They can only give you answers." - Pablo Picasso
0 Kudos
Message 7 of 8
(4,396 Views)

rwunderl wrote:

Hmmmm.... Well now I feel a little stupid.



Ignorance and stupidity are two very different things.  The former, as in this case, is easily curable. Smiley Happy

0 Kudos
Message 8 of 8
(4,394 Views)