Single-Element Functions : List of Functions : stm_r_xx_chart

stm_r_xx_chart
Returns the chart ID for the specified element.

stm_r_chart (id, &status)

For compound arrows, this function retrieves the chart only when all the arrow segments are in the same element. Otherwise, it returns the value 0.
Function Type
stm_id
Syntax
stm_r_xx_chart (xx_id, &status)
Arguments
 
Input/Output
Status Codes
Example
To return the name of the chart in which state S1 is found, use the following statements:

stm_id state_id, chart_id;
int status;
.
.
.
state_id = stm_r_st ("S1", &status);
chart_id = stm_r_st_chart (state_id, &status);
printf ("chart name is: %s", stm_r_ch_name (chart_id,
&status));
.
.

For Elements