Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Configuring the X- and Y-Axes on a Graph or Chart

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Right-click the x- or y-scale of a graph or chart and select one of the following shortcut menu options to configure the x- or y-axis. You also can access these options by right-clicking the graph or chart and selecting from the X Scale or Y Scale shortcut menus. You also can use the X Scale and Y Scale properties to select a scale programmatically.

  • Marker Spacing—Uses Uniform (default) or Arbitrary marker spacing. By default, scale markers are uniform, or evenly spaced. By selecting arbitrary marker spacing, you can indicate specific inner markers for a scale. Arbitrary marker spacing is useful for marking a few specific points on a slide or rotary control, such as a set point or threshold.
  • Add MarkerAdds a marker to the scale. This option is not available if Marker Spacing is Uniform.
  • Delete MarkerDeletes a marker from the scale. This option is not available if Marker Spacing is Uniform, and if the scale contains only the two end markers.
  • Formatting—Displays a dialog box you can use to format the x- or y-axis.
  • Style—Sets the style for the marks on the scale.
  • Mapping—Select Linear (default) or Logarithmic.
  • AutoScale X or Y—Remove the checkmark next to this option to disable autoscaling. Graphs and charts can automatically adjust their horizontal and vertical scales to reflect the data you wire to them. By default, autoscaling is enabled for the graph or chart. However, autoscaling can slow performance. Use the Operating tool or the Labeling tool to change the horizontal or vertical scale directly. You also can use the Scale Fit property to configure autoscaling programmatically.
Note Note  LabVIEW does not include hidden plots when you autoscale the axes of a graph or chart. If you want to include the hidden plots when you autoscale, make the hidden plots transparent instead. Right-click the plot legend and select Color from the shortcut menu to change the color of plots.
  • Loose Fit—Place a checkmark next to this option to round the end markers to a multiple of the increment used for the scale.
  • Visible Scale Label—Displays the Scale Label.
  • Expand Digital Buses—Displays digital waveform data as individual data lines. Remove the checkmark from this checkbox to display the data as a bus. This option is available only for digital waveform graphs. You also can use the Expand Digital Buses property to set how the data is displayed programmatically.
  • Swap Sides—Moves the scale to the opposite side of the display. This option is useful if you have two scales on one side of the graph or chart.
  • Duplicate Scale—Copies the scale and adds it as a new scale to the graph or chart.
  • Delete Scale—Deletes the scale. This option is available only if the graph or chart has multiple x- or y-scales.

You also can use the GraphChart, GraphScale, and Scale properties to configure the X- or Y-scales of a graph or chart programmatically.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit