Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Including a Scrollbar in a Graph Plot Legend for LabVIEW 8.2 and Earlier.

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 7.1
Primary Software Fixed Version: 8.5
Secondary Software: N/A

Problem:
I want to show a vertical scrollbar for the plot legend of my waveform graph since I have multiple plots, but I do not see this feature available.  Is there a way to do this?

Solution:
This feature became available in LabVIEW 8.5.  However, there is a workaround available using a multiple column listbox in earlier versions.  You can programmatically assign background colors and names to the cells in the listbox in order to create a custom plot legend.  Please see the attached example program.



Figure 1: Block Diagram of Listbox Workaround.



Figure 2: Front Panel of Listbox Workaround.


Related Links:
KnowledgeBase 2NIA8E17: How Do I Programmatically Modify the Palettes and Legends on My Graph or Chart?
KnowledgeBase 24HE05DT: How Do I Programmatically Make the Scale or Cursor Legend Visible?
KnowledgeBase 45MB1KSF: How Do I Use the Multi-Plot Cursor?

Attachments:


Show Graph Plots.vi


Report Date: 05/30/2008
Last Updated: 06/11/2008
Document ID: 4LTCN51D

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit