Jump to content

plot area's position property of a wavegraph


Recommended Posts

how to get the plot area's position property of a wavegraph in labview 7.1, I can only find the size property.

1296[/snapback]

You can't get the plot area position from a property. You can get the entire graph control position but not the plot area. One thing you can do as a work around is to use some simple math to calculate the plot area position if you know the control position. This assumes that the size of the plot area doesn't change relative to the entire control.
Maybe legend->Position->All Elements is what you want?!

1327[/snapback]

No, this only gives you the position of the legend. The plot area is the black box element that shows the graph.
Link to comment

thanks for your help!

yes, I do get the plotarea position by following fomula now:

top=graphic.height-(xscale.height+plotarea.height)+devx

left=yscale.width+devy

Additionary numbers, devx and devy, must be added for fix the result, so I want to get it by:

top= xscale.top - plotarea.height

left= yscale.left + yscale.width

but the results are terrible mistake, why? Does xscale.position means the absolute position in panels but not the relative position in the graphic control?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.