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
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.