Hasx-func
When a graph window is active, the hasx function returns 1 if specified dataset vd is plotted against an X dataset in the active layer. If not, this function returns 0.
Note that vd may be plotted against an X dataset in one layer, but may be plotted against row number or incremental values in another layer. Thus, the active layer can affect the return value of this function. See the example below.
int hasx(dataset vd)
vd
Returns 1 if vd is plotted against an X dataset in the active layer. If not, returns 0. if input range does not exist, return -1
col(A) = data(1,12); col(B) = data(1,12); plotstack iy:=((1,2),(<autoX>,2)); page.active = 1; hasX(Book1_B) =; page.active = 2; hasX(Book1_B) =;