The GraphChart class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide GraphChart Properties Table
GraphChart Properties Table
6341C00 | Plot Area:Size | Size of the active plotting area in terms of width and height in pixels. | Read/Write | Yes |
6341C01 | Plot Area:Size:Width | Width of the active plotting area in pixels. | Read/Write | Yes |
6341C02 | Plot Area:Size:Height | Height of the active plotting area in pixels. | Read/Write | Yes |
6341C03 | Palette:Visible | Shows the graph palette. | Read/Write | Yes |
6341C04 | Transpose Array | Transpose data before plotting (switch X and Y). | Read/Write | Yes |
6341C05 | Plot Area:Colors | Colors of the plotting area expressed in terms of (Foreground Color, Background Color) pair. | Read/Write | Yes |
6341C06 | Plot Area:Colors:FG Color | Foreground color of the plotting area. | Read/Write | Yes |
6341C07 | Plot Area:Colors:BG Color | Background color of the plotting area. | Read/Write | Yes |
6341C08 | Grid Colors | | Read/Write | Yes |
6341C09 | Grid Colors:X Color | | Read/Write | Yes |
6341C0A | Grid Colors:Y Color | | Read/Write | Yes |
6341C0B | X Scale | Reference to the X-scale. | Read Only | Yes |
6341C0C | Y Scale | Reference to the Y-scale. | Read Only | Yes |
6341C0D | X Scale Info | | Read/Write | Yes |
6341C0E | Y Scale Info | | Read/Write | Yes |
6341C0F | Palette:Active Tool | Sets 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/Write | Yes |
6341C10 | Active X Scale | Gets or sets the active or current X-scale of a graph or chart. | Read/Write | Yes |
6341C11 | Active Y Scale | Gets 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/Write | Yes |
6341C12 | Scale Legend:Visible | Shows the scale legend. | Read/Write | Yes |
6341C14 | X Scrollbar Visible | Displays the x-axis scroll bar for the graph or chart. | Read/Write | Yes |
6341C15 | Graph Flavor | | Read Only | Yes |
6341C16 | Plot Area:Position | | Read Only | Yes |
6341C17 | Plot Area:Position:Left | | Read Only | Yes |
6341C18 | Plot Area:Position:Top | | Read Only | Yes |
6341C19 | Plot Area Bounds | Gets 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/Write | Yes |
6341C1A | Autoscale Delay | Number 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/Write | Yes |
6341C1B | Frame Color | Gets or sets the frame color of the graph or chart. | Read/Write | Yes |
Methods
Show/Hide GraphChart Properties Table
GraphChart Methods Table
6341800 | Map Coordinates To XY | Maps 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) |
6341801 | Map XY To Coordinates | Returns 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) |
6341802 | Force Redraw | Forces LabVIEW to redraw the graph. | Yes (Read/Write) |
Events
Show/Hide GraphChart Events Table
GraphChart Events Table
1073741904 | Annotation Menu Selection | Generated 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 |
2147483727 | Annotation 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 |
1073741900 | Autoscale Range Change | | Notify |
1073741902 | Cursor Menu Selection | Generated 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 |
2147483725 | Cursor 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 |
1073741862 | Plot Attribute Change | Generated 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 |
1073741861 | Scale Range Change | Generated 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)
|
|
More info to come.
|
See Also