GraphChart class
| 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 | |
| |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
The GraphChart class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide GraphChart Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Short Name (English) | Description | R/W | RTE | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 6341C10 | ActXScl | Gets or sets the active or current X-scale of a graph or chart.
This property is similar to the Scale option on the Scales page of the Properties dialog box. |
R/W | X | ||||||||||
| 6341C11 | ActYScl | 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.
This property is similar to the Y-Scale item on the shortcut menu of a chart or graph. This property is similar to the Scale option on the Scales page of the Properties dialog box. |
R/W | X | ||||||||||
| 6341C1A | AutoscaleDelay | 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. | R/W | X | ||||||||||
| 6341C1B | Frame Color | Gets or sets the frame color of the graph or chart.
The numeric value of this property corresponds to the color a color box constant displays for the same value. That color value is expressed as a hexadecimal number with the form RRGGBB. The first two digits control the red color value. The second two digits control the green color value. The last two digits control the blue color value. |
R/W | X | ||||||||||
| 6341C15 | Flavor | R | X | |||||||||||
| 6341C0F | ActPaletteTool | 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.
Note The Zoom to Fit tool zooms in or out to autoscale the graph or chart. Because the Zoom to Fit tool does not have a cursor, LabVIEW continues to display the cursor for the previous selected tool. |
R/W | X | ||||||||||
| 6341C03 | PaletteVis | Shows the graph palette. | R/W | X | ||||||||||
| 6341C19 | Plot 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.
|
R/W | X | ||||||||||
| 6341C05 | PlotAreaColors | Colors of the plotting area expressed in terms of (Foreground Color, Background Color) pair.
You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
|
R/W | X | ||||||||||
| 6341C07 | BG Color | Background color of the plotting area.
You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property. This property is an element of the Plot Area:Colors property. |
R/W | X | ||||||||||
| 6341C06 | FG Color | Foreground color of the plotting area.
You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property. This property is an element of the Plot Area:Colors property. |
R/W | X | ||||||||||
| 6341C16 | PlotAreaPos | R | X | |||||||||||
| 6341C17 | PlotAreaLeft | R | X | |||||||||||
| 6341C18 | PlotAreaTop | R | X | |||||||||||
| 6341C00 | PlotAreaSize | Size of the active plotting area in terms of width and height in pixels. | R/W | X | ||||||||||
| 6341C02 | Height | Height of the active plotting area in pixels.
This property is an element of the Plot Area:Size property. |
R/W | X | ||||||||||
| 6341C01 | Width | Width of the active plotting area in pixels.
This property is an element of the Plot Area:Size property. |
R/W | X | ||||||||||
| 6341C12 | ScaleLegendVis | Shows the scale legend.
This property is similar to the Visible Items»Scale Legend item on the shortcut menu of a graph or chart. This property is similar to the Show scale legend option on the Appearance page of the Properties dialog box. |
R/W | X | ||||||||||
| 6341C04 | TransposeArr | Transpose data before plotting (switch X and Y).
This property is similar to the Transpose Array item on the shortcut menu of a graph or chart. |
R/W | X | ||||||||||
| 6341C0B | XScale | Reference to the X-scale.
You can use this reference with the GraphScale properties. This property is similar to the X Scale item on the shortcut menu of a graph or chart. This property is similar to the Scale option on the Scales page of the Properties dialog box. |
R | X | ||||||||||
| 6341C14 | ScrollVis | Displays the x-axis scroll bar for the graph or chart.
This property is similar to the Visible Items»X Scrollbar item on the shortcut menu of a graph or chart. This property is similar to the Show x scroll bar option on the Appearance page of the Properties dialog box. |
R/W | X | ||||||||||
| 6341C0C | YScale | Reference to the Y-scale.
You can use this reference with the GraphScale properties. This property is similar to the Y Scale item on the shortcut menu of a graph or chart. This property is similar to the Scale option on the Scales page of the Properties dialog box. |
R | X |
Methods
Show/Hide GraphChart Methods Table
| Legend | |
|---|---|
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Method ID | Short Name (English) | Description | RTE |
|---|---|---|---|
| 6341802 | ForceRedraw | Forces LabVIEW to redraw the graph. | X |
| 6341800 | Map Coords 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. | X |
| 6341801 | Map XY To Coords | 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.
This method adjusts only the left and top plot bounds to orient the plot around the origin of the owning pane. |
X |
Events
Show/Hide GraphChart Events Table
| Legend | |
|---|---|
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated |
| Code | Name | Type |
|---|---|---|
| 1073741904 | Annotation Menu Selection | Notify |
| 2147483727 | Annotation Menu Selection? | Filter |
| 1073741900 | Autoscale Range Change | Notify |
| 1073741902 | Cursor Menu Selection | Notify |
| 2147483725 | Cursor Menu Selection? | Filter |
| 1073741862 | Plot Attribute Change | Notify |
| 1073741861 | Scale Range Change | Notify |
History
| |
History information is needed. What changes have occured over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |