pltIPlot SetCategoryValues

Sets the category values.

Syntax

pltIPlot_handle SetCategoryValues values

Application

HyperWorks Tcl Modify

Description

This command sets the category values of the plot in a bar chart (these are the labels across the x-axis).
Note: This method is only valid for bar charts.

Inputs

values
A string of inputs for the category values that you want to use. The string has parentheses “ “ around it, and the different category values will be separated by spaces.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;	
w1 GetClientHandle plot;
plot SetCategoryValues “Bob Joe Sally Travis Lisa”;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Bar Graph

Modify