range

data range that should be selected in the frame

object range;

Example

range:{ start:30, end:40 }

Details

Available properties:

  • start - (number, string) id of the item that starts the range, or value of the property that is defined in the frameId parameter
  • sindex - (number) index of the item that starts the range
  • end - (number, string) id of the item that ends the range, or value of the property that is defined in the frameId parameter
  • eindex - (number) index of the item that ends the range

You can specify either ids or indexes for the starting and ending data items in the data range.

range:{ sindex:29, eindex:49 }

What is more, you can set the id of the starting item and the index of the ending one and vice versa. The important thing is that there are always should be one starting value and one ending value of the range. Thus, you can set the range as:

range:{ sindex:29, end:50 }

or like this:

range:{ start:30, eindex:49 }
Back to top