sets the data range for the frame
range | object | object with range parameters |
Available only in PRO Edition
rangechart.setFrameRange({
start:30,
end:40
});
The parameters of the range object are the following:
You can specify either ids or indexes for the starting and ending data items in the data range.
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:
rangechart.setFrameRange({
start:30,
eindex:39
});
Notice that the priority of ids is higher than that of indexes. It means that in case difference between their values is great, the position of data range will be counted using the ids values.