trait XAxis extends Object with Axis[config.axis.XAxis, XAxisPlotBand]
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- XAxis
- Axis
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addPlotBand(options: XAxisPlotBand): Unit
Add a plot band after render time.
Add a plot band after render time.
- options
A configuration object consisting of the same members as options.xAxis.plotBands
- Definition Classes
- Axis
Example: -
def
addPlotLine(options: AxisPlotLine): Unit
Add a plot line after render time.
Add a plot line after render time.
- options
A configuration object consisting of the same members as options.xAxis.plotLines
- Definition Classes
- Axis
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getExtremes(): AxisExtremes
Get the current extremes for the axis.
Get the current extremes for the axis. The returned object contains:
<dl> <dt>dataMax:</dt>
- The maximum value of the axis' associated series.
<dt>dataMin:</dt>
- The minimum value of the axis' associated series.
<dt>max:</dt>
- The maximum axis value, either automatic or set manually. If the
maxoption is not set,maxPaddingis 0 andendOnTickisfalse, this value will be the same asdataMax.- min:
- The minimum axis value, either automatic or set manually. If the
minoption is not set,minPaddingis 0 andstartOnTickisfalse, this value will be the same asdataMin.- Definition Classes
- Axis
Example: -
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
remove(redraw: Boolean = js.native): Unit
Remove an axis from the chart.
Remove an axis from the chart.
- redraw
Defaults to
true. Whether to redraw the chart following the remove.
- Definition Classes
- Axis
Example: -
def
removePlotBand(id: String): Unit
Remove a plot band by its
id.Remove a plot band by its
id.- id
The plot band's
idas given in the original configuration object or in the addPlotBand method.
- Definition Classes
- Axis
-
def
removePlotLine(id: String): Unit
Remove a plot line by its
id.Remove a plot line by its
id.- id
The plot line's
idas given in the original configuration object or in the addPlotLine method.
- Definition Classes
- Axis
-
def
setTitle(title: AxisTitle, redraw: Boolean = js.native): Unit
Update the title of the axis after render time.
Update the title of the axis after render time.
- title
The new title options on the same format as given in xAxis.title.
- redraw
Whether to redraw the chart now or hold until the next chart.redraw()
- Definition Classes
- Axis
Example: -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toPixels(value: Double, paneCoordinates: Boolean = js.native): Double
Translates a value in terms of axis units in to pixels within the chart.
Translates a value in terms of axis units in to pixels within the chart.
- value
A value in terms of axis units.
- paneCoordinates
Whether to return the pixel coordinate relative to the chart or just the axis/pane itself.
- Definition Classes
- Axis
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toValue(pixel: Double, paneCoordinates: Boolean = js.native): Double
Translate a pixel position along the axis to a value in terms of axis units.
Translate a pixel position along the axis to a value in terms of axis units.
- pixel
A pixel position along the axis.
- paneCoordinates
Whether the input pixel position is relative to the chart or just the axis/pane itself.
- Definition Classes
- Axis
-
def
update(options: config.axis.XAxis, redraw: Boolean = js.native): Unit
Update an axis object with a new set of options.
Update an axis object with a new set of options. The options are merged with the existing options, so only new or altered options need to be specified.
- options
The new options that will be merged in with existing options on the axis.
- redraw
Defaults to
true. Whether to redraw the chart after the new options are set.
- Definition Classes
- Axis
Example: -
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )