implicit final class AxisExt extends AnyVal
- Alphabetic
- By Inheritance
- AxisExt
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val axis: Axis[_, _]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
setCategories(categories: Seq[String], redraw: Boolean = true): Unit
Set new categories for the axis.
Set new categories for the axis.
- categories
The new category names.
- redraw
Defaults to
true. Whether to redraw the axis or wait for an explicit call tochart.redraw().
Example: -
def
setExtremes(min: Double, max: Double, redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit
Set the minimum and maximum of the axes after render time.
Set the minimum and maximum of the axes after render time. If the
startOnTickandendOnTickoptions are true, the minimum and maximum values are rounded off to the nearest tick. To prevent this, these options can be set to false before calling setExtremes. Also,setExtremeswill not allow a range lower than the minRange option, which by default is the range of five points.- min
The new minimum value
- max
The new maximum value
- redraw
Defaults to
true. Whether to redraw the chart or wait for an explicit call tochart.redraw().- animation
Defaults to true. When true, the resize will be animated with default animation options. The animation can also be a configuration object with properties
durationandeasing.
-
def
toString(): String
- Definition Classes
- Any