Returns the value at index.
index
The returned value could be out of range.
@override int getValueAt(int index) => index * interval + firstValue;