Jump to content

How to allow user to change plot name?


Recommended Posts

Does anyone know how to programmatically change plot names where there are multiple plots displayed on one chart? I can change the first one only using property Plot.Name, but it only handles the first one. Any suggestions???

You need to use the Active Plot property to select each plot. By default the active plot is the first one, which is why changing Plot.Name changes the first one. If you select a different Active Plot, the same property will change the name of the selected plot.

David

Link to comment
I can change the first one only using property Plot.Name, but it only handles the first one.

The Plot.Name property deals with the "Active Plot" (which is, by default, 0). Set the Active.Plot property to 1 (or whichever plot you want to change) and then use the Plot.Name property. This can be done several times in one property node, as LabVIEW executes them in top-down order.

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.