Returns the rightmost index of a displayed series in a Window.
GETXRIDX(win)
win |
- |
Optional. Window reference. Defaults to the current Window. |
An integer, the leftmost series index.
W1: 1..0.1..10;setx(5, 9);
ridx = getxridx(W1);
rval = W1[ridx]
ridx == 81
rval == 9.0
indicating that the 81st sample of W1 is the rightmost sample and the associated value is 9.0.
GETXRIDX returns the index of the leftmost displayed series.
See GETYR to return the rightmost Y value of the displayed series.