Excel Set Graph Scale VI
- Updated2024-07-30
- 4 minute(s) read
Sets the scale parameters of the x- and y-axes and formats the graph gridlines.

Inputs/Outputs
—
report in is a reference to the report whose appearance, data, and printing you want to control. Use the New Report VI to generate this LabVIEW class object.
axis type (xlCategory)
—
axis type specifies the type of axis to format. The default is xlCategory, which generally represents the X axis. You also can select xlValue, which generally represents the Y axis.
graph index (-1)
—
graph index specifies the index of the graph to modify. The default is -1, in which the VI modifies the last graph in the current worksheet. Note Graphs, images, ActiveX controls, and OLE objects form a collection for each worksheet. Each object has an index value based on the order of the objects in the worksheet. Index values begin at 0. For example, if you insert two images into the worksheet before you insert a graph, the index value for the graph is 2.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
axis config
—
axis config specifies the ways in which the VI scales the axis.
gridlines
—
gridlines sets the gridlines parameters.
—
report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.
error out
—
error out contains error information. This output provides standard error out functionality. |
—
axis type (xlCategory)
—
graph index (-1)
—
error in (no error)
—
axis config
—
autoscale
—
min
—
major gridlines color
—
—
error out
—