Customizing the Plot Legend of a Digital Waveform Graph

Digital waveform graphs provide two views of the plot legend. You can toggle between these views and customize the appearance of the plot legend.

  • Tree view—Default view: allows you to view digital lines and buses and to expand and contract digital buses both in the plot legend and in the plot area of the graph.
    Figure 23. Digital Waveform Graph Plot Legend: Tree View
    Plot legend in tree view showing Bus 0 and Bus 1 with digital lines 10 to 16 under Bus 1.
  • Standard view—Allows you to view digital lines.
    Figure 24. Digital Waveform Graph Plot Legend: Standard View
    Plot legend showing four digital lines with different colors.
  • To customize the plot legend of a digital waveform graph, refer to the following steps.

    • To toggle the plot legend view between tree view and standard view:
      • Interactively: Right-click the digital waveform graph and choose an option:
        • Change from tree view to standard view: Advanced » Change Plot Legend to Standard View
        • Change from standard view to tree view: Advanced » Change Plot Legend to Tree View
      • Programmatically: Use the Digital Tree View property
      Notice LabVIEW deletes any allocated lines when you change from the standard view of the plot legend to the tree view of the plot legend, including any custom line settings. Additionally, you cannot allocate lines in the plot legend when the tree view is enabled.
    • To customize the content and appearance of the plot legend:
      OptionDescription
      Expand and contract buses in tree view Click the expand and contract symbol to the left of the bus.

      Scroll bars appear automatically when a bus or line name exceeds the size of the plot legend and when the amount of lines, buses, or lines and buses exceeds the size of the plot legend.

      Group digital waveforms in the order you want to view them Use the Group Digital Signals Express VI.
      Resize the plot legend
      1. Move the Positioning tool over the legend border.
      2. When resizing handles appear at the corners of the legend, drag a handle up, down, left, or right and release the mouse button when the legend is the desired size.
    • To disable the plot legend:
      • Interactively: Right-click the digital waveform graph and select Advanced » Disable Plot Legend
      • Programmatically: Use the Legend:Disable property.