LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sizes of XYGraph?

Hello,

I like to decorate the output of XY Graph with some graphic and text. So I use "GetImage" to extract the image and add my stuff via picture functions.

My Problem: getImage supplies the whole image including scales, etc. So I need the sizes/offset of the the bars in order to transform the coordinates from graph to picture. I tried several properties (Caption.Sizes, etc.), but I still get a slight error in the Y axis.

Is there a picture or other resources which illustrates these measures?

Or is there even a better solution decorating a XY Graph?

Thank you in advance.

Oliver Wieland
0 Kudos
Message 1 of 2
(2,763 Views)
Oliver,
Why don't you draw everything, including the xy graph data, directly as a picure? Getting the image of an xy graph seems like an unnecessary detour.

Have a look at the shipping examples named "Waveform and XY Plots.vi" or "XY Multi Plot.vi" (Example finder: Building User Interfaces..Displaying data..Pictures)
0 Kudos
Message 2 of 2
(2,763 Views)