range

fun range(from: Value, to: Value)

Set the range using arbitrary values


Set range using double kotlin range


fun range(value: ClosedRange<String>)

Set range using kotlin string range


Deprecated

Use range() instead

Sets the range of this axis. If the axis type is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis type is "date", it should be date strings, like date data, though Date objects and unix milliseconds will be accepted and converted to strings. If the axis type is "category", it should be numbers, using the scale where each category is assigned a serial number from zero in the order it appears.