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.
Controls
Graph controls in windows and user objects, and graphs in
DataWindow controls
Syntax
|
1 |
<span>controlname</span>.<span>GetSeriesStyle</span> ( { <span>graphcontrol</span>, } <span>seriesname</span>,<span>overlayindicator</span> ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the graph for which you want |
|
graphcontrol (DataWindow control |
(Optional) A string whose value is the |
|
seriesname |
A string whose value is the name of the |
|
overlayindicator |
A boolean variable in which you want |
Return Values
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 |
boolean is_overlay |
|
1 |
gr_emp_data.<span>GetSeriesStyle</span>(sle_series.Text, & |
|
1 |
   is_overlay) |