Syntax 4: For determining whether a series is an overlay
Description
Reports whether a series in a graph is an overlay — whether it is
shown as a line on top of another graph type.
Applies to
Graph controls in windows and user objects, and graphs in
DataWindow controls
Syntax
|
1 |
controlname.GetSeriesStyle ( { graphcontrol, } seriesname,overlayindicator ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the graph for which you want the overlay |
|
graphcontrol (DataWindow control only) |
(Optional) A string whose value is the name of the graph |
|
seriesname |
A string whose value is the name of the series for which |
|
overlayindicator |
A boolean variable in which you want to store a value |
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs. Stores in
overlayindicator true if the specified series is an overlay and false if
it is not. If any argument’s value is null, GetSeriesStyle returns
null.
Examples
These statements find out whether a series in the graph
gr_emp_data is an overlay. The series name is the text in the
SingleLineEdit sle_series:
|
1 2 3 |
boolean is_overlay gr_emp_data.GetSeriesStyle(sle_series.Text, & is_overlay) |