Jump to content

Dynamic display of Y-axis on XY graphs


Recommended Posts

Dear all,

I'm trying to debug a LabVIEW 7.1(.1) bug with the Y-scale(s) when autosizing and hide/show.

I saw one topic under the NI forum related to this trouble, but dated in 2004, and without any complete answer... Just ideas !

http://forums.ni.com/ni/board/message?boar...id=44096#M93787t.gif://http://forums.ni.com/ni/board/messa...inked-image" />

The bug is: I have a XY Graph. When I change the range of the Y-scale, then hide it, and then autoscale... If I show it again, it sometimes (for not saying frequently !) has moved from the normal position... Like this:

http://forums.lavag.org/index.php?act=attach&type=post&id=6305

Here is a simple code to repeat this behaviour:

http://forums.lavag.org/index.php?act=attach&type=post&id=6306

One idea to avoid (a little bit!) this problem, is to show the scale before changing the range (when we auto-scale it) and then hide it again. We see a flickering, but that's almost working...

I just can add that in 8.2 the hide and show of the scale is not moving the width of the Graph... Probably because of this recurent problem since a long time !

Does someone has ever encounter this "old" bug, and has a better idea to solve it?

For information, in my real program, I have 6 Y-scales for 6 plots, and I need to change the width of the Graph depending on the number of plots I want to see (i.e I don't want a "small" graph if I'm watching just one plot!)

Thanks for your help.

Laurent

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.