GraphChart class

From LabVIEW Wiki
Jump to: navigation, search
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name GraphChart class
Class ID 22
Scope Basic Development Environment
Class Inheritance
Class Children


The GraphChart class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide GraphChart Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
GraphChart Properties Table
Property ID Long Name (English) Description R/W RTE
6341C00Plot Area:SizeSize of the active plotting area in terms of width and height in pixels.Read/WriteYes
6341C01Plot Area:Size:WidthWidth of the active plotting area in pixels.Read/WriteYes
6341C02Plot Area:Size:HeightHeight of the active plotting area in pixels.Read/WriteYes
6341C03Palette:VisibleShows the graph palette.Read/WriteYes
6341C04Transpose ArrayTranspose data before plotting (switch X and Y).Read/WriteYes
6341C05Plot Area:ColorsColors of the plotting area expressed in terms of (Foreground Color, Background Color) pair.Read/WriteYes
6341C06Plot Area:Colors:FG ColorForeground color of the plotting area.Read/WriteYes
6341C07Plot Area:Colors:BG ColorBackground color of the plotting area.Read/WriteYes
6341C08Grid ColorsRead/WriteYes
6341C09Grid Colors:X ColorRead/WriteYes
6341C0AGrid Colors:Y ColorRead/WriteYes
6341C0BX ScaleReference to the X-scale.Read OnlyYes
6341C0CY ScaleReference to the Y-scale.Read OnlyYes
6341C0DX Scale InfoRead/WriteYes
6341C0EY Scale InfoRead/WriteYes
6341C0FPalette:Active ToolSets the tool that is currently selected on the graph palette. 0 is the selection cursor and 1 is the panning tool. 2-7 are the zoom tools: 2 is Zoom to Rectangle, 3 is X-zoom, 4 is Y-zoom, 5 is Zoom to Fit, 6 is Zoom Out about Point, and 7 is Zoom In about Point.Read/WriteYes
6341C10Active X ScaleGets or sets the active or current X-scale of a graph or chart.Read/WriteYes
6341C11Active Y ScaleGets or sets the active or current Y-scale of a graph or chart. Call this property before setting other properties on a specific scale.Read/WriteYes
6341C12Scale Legend:VisibleShows the scale legend.Read/WriteYes
6341C14X Scrollbar VisibleDisplays the x-axis scroll bar for the graph or chart.Read/WriteYes
6341C15Graph FlavorRead OnlyYes
6341C16Plot Area:PositionRead OnlyYes
6341C17Plot Area:Position:LeftRead OnlyYes
6341C18Plot Area:Position:TopRead OnlyYes
6341C19Plot Area BoundsGets and sets the plot area bounds for the Graph and Chart. If it is a stacked chart, this property returns the bounds of the first plot area. You cannot set the plot area bounds for a stacked chart.Read/WriteYes
6341C1AAutoscale DelayNumber of seconds that elapse between two successive autoscale operations when the scale has to shrink to fit the data. This delay has no effect on autoscale operations that happen in response to data that causes the scale to grow in range.Read/WriteYes
6341C1BFrame ColorGets or sets the frame color of the graph or chart.Read/WriteYes

Methods

Show/Hide GraphChart Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
GraphChart Methods Table
Method ID Long Name (English) Description RTE
6341800Map Coordinates To XYMaps the owning pane coordinates to the XY location on a graph. If the scales are not specified then the active or current scales are used.Yes (Read/Write)
6341801Map XY To CoordinatesReturns TRUE and maps the XY location on a graph to the owning pane coordinates. If you do not specify the scales, LabVIEW uses the active or current scales. This method is useful when you need to map graph coordinates to plot image coordinates to draw images inside the plot area of a graph.Yes (Read/Write)
6341802Force RedrawForces LabVIEW to redraw the graph.Yes (Read/Write)

Events

Show/Hide GraphChart Events Table

Legend
Basic Development Environment
VI Scripting
Private
Deprecated
GraphChart Events Table
Code Name Description Type
1073741904Annotation Menu SelectionGenerated when the user selects a menu item from the shortcut menu of an annotation. This event is posted after the built-in shortcut menu item is processed by LabVIEW.Notify
2147483727Annotation Menu Selection?Generated when the user selects a menu item from the shortcut menu of an annotation. This event is posted before the built-in shortcut menu item is processed by LabVIEW.Filter
1073741900Autoscale Range ChangeNotify
1073741902Cursor Menu SelectionGenerated when the user selects a menu item from the shortcut menu of the cursor legend. This event is posted after the built-in shortcut menu item is processed by LabVIEW.Notify
2147483725Cursor Menu Selection?Generated when the user selects a menu item from the shortcut menu of the cursor legend. This event is posted before the built-in shortcut menu item is processed by LabVIEW.Filter
1073741862Plot Attribute ChangeGenerated when the user changes an attribute of a plot on a graph or chart by right-clicking the plot in the plot legend and selecting an item from the shortcut menu. This event is useful if you want to register user changes and then adjust the functionality of the graph.Notify
1073741861Scale Range ChangeGenerated when the user changes the minimum or maximum value of the scale of a graph or chart. The minimum or maximum value changes when the user enters a new value in a scale marker, pans or zooms the graph or chart, or the graph or chart autoscales. This event is useful if you want to register user changes and then adjust the functionality of the graph.Notify


History

Version Change(s)
LabVIEW 2018 More info to come.

See Also