Jump to content
Sign in to follow this  
spaghetti_developer

Plots cleaning

Recommended Posts

Hi guys,

Today I'm having a new problem to troubleshoot. I'm populating a graph and I'm customizing its plots every time the user click on a button. The number of waves shown into the graphs can change on each click and the plots number depends on the number of waves selected by the user. How can I clean the exceeding number of plots previously configured when the user pass from a high number of waves to a lower number of waves? I would like to remove the exceding plots from the legend, not just clean theirs name.

I hope that what I want to achive is clear.

Thank you in advance.

Share this post


Link to post
Share on other sites

I'm a little unclear, but it sounds like you're looking for the property "Legends->Number of Rows".

Share this post


Link to post
Share on other sites

Not exactly!

The property "Legend --> Number of Rows" just allows you to control how many plots will be shown to the user. I want to clean the number of plots I don't need into the Legged.

post-15713-0-70178300-1331821806.png

Share this post


Link to post
Share on other sites

Helped by a NI support Engineer I have achieved what I wanted to achive using the Lends Number of Rows coupled with the Legends plot minimum properties. If yuo are interested in see what we have done, look at the attached VI.

Modifying the Lends Rows control you will see the effect. The legend will be resize properly (avoiding the exceeding plots).

Try inserting as sample 10 --> 25 --> 12.

Graph_Problem - Fixed.vi

Share this post


Link to post
Share on other sites

HI,

could you upload a 2010 VI or a screenshot?

I don't have 2011 installed yet.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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