Ranking Functions
The ranking functions can be accessed in display
and enabled
settings to hide or toggle loaded series based on their values.
Function | Arguments | Description |
---|---|---|
top | rank | Returns the value of the top-N element (specified with rank ) in the sorted array of last values of all series loaded by the widget.top(1) returns the largest value.rank must be a positive integer.View example. |
bottom | rank | Returns the value of the bottom-N element (specified with rank ) in the sorted array of last values of all series loaded by the widget.bottom(1) returns the smallest value.rank must be a positive integer.View example. |