Jump to content

Menu Button on Graphs and Charts

Recommended Posts

Here's an interesting UI trick, as an example of what one can do with "filter" events:


Problem: I like right-click menus to add lots of options to graphs, but the Users seldom discover the right-click options.   I would like an obvious menu button for the User to see, but have any click on the button open the graph menu.


Solution: put the button on the graph.  On "Mouse Down?", hide the button and make the mouse click a right click.  The Mouse Down then falls on the graph and triggers "Shortcut Menu Activation?", where I make the button visible again (the User never notices it being hidden).


Example Chart Menu Button.png


Example Chart Menu Button.vi

LabVIEW 2015; controls from Flatline

  • Like 2

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.

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.

  • Similar Content

    • By Taylorh140
      So, I wanted to get an opinion here?
      I'm Pulling new values in from a device, and have UI elements change color depending on their value. This is of course done through property nodes. My question is what is better:
      A. Updating UI element only on value change (checking for value changes)
      B. Updating all UI elements all at once within a Defer front panel updates segment? ( and not checking for value changes)
      Thats all.
  • Create New...

Important Information

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