object ColorAxisLabels
- Alphabetic
- By Inheritance
- ColorAxisLabels
- 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
apply(align: UndefOr[String] = js.undefined, enabled: UndefOr[Boolean] = js.undefined, format: UndefOr[String] = js.undefined, formatter: UndefOr[Function] = js.undefined, maxStaggerLines: UndefOr[Double] = js.undefined, overflow: UndefOr[String] = js.undefined, rotation: UndefOr[Double] = js.undefined, staggerLines: UndefOr[Double] = js.undefined, step: UndefOr[Double] = js.undefined, style: UndefOr[Object] = js.undefined, useHTML: UndefOr[Boolean] = js.undefined, x: UndefOr[Double] = js.undefined, y: UndefOr[Double] = js.undefined, zIndex: UndefOr[Double] = js.undefined): ColorAxisLabels
- align
What part of the string the given position is anchored to. If
left
, the left side of the string is at the axis position. Can be one of"left"
,"center"
or"right"
. Defaults to an intelligent guess based on which side of the chart the axis is on and the rotation of the label.- enabled
Enable or disable the axis labels.
- format
A format string for the axis label.
- formatter
Callback JavaScript function to format the label. The value is given by
this.value
. Additional properties forthis
are.axis
,chart
,isFirst
andisLast
. The value of the default label formatter can be retrieved by callingthis.axis.defaultLabelFormatter.call(this)
within the function.. . Defaults to: .function() {. return this.value;. }
- maxStaggerLines
Horizontal axis only. When
staggerLines
is not set,maxStaggerLines
defines how many lines the axis is allowed to add to automatically avoid overlapping X labels. Set to1
to disable overlap detection.- overflow
How to handle overflowing labels on horizontal axis. Can be undefined or "justify". If "justify", labels will not render outside the plot area. If there is room to move it, it will be aligned to the edge, else it will be removed.
- rotation
Rotation of the labels in degrees.
- staggerLines
Horizontal axes only. The number of lines to spread the labels over to make room or tighter labels. .
- step
To show only every n'th label on the axis, set the step to n. Setting the step to 2 shows every other label.
- style
CSS styles for the label.
- useHTML
Whether to use HTML to render the labels.
- x
The x position offset of the label relative to the tick position on the axis.
- y
The y position offset of the label relative to the tick position on the axis. The default makes it adapt to the font size on bottom axis.
- zIndex
The Z index for the axis labels.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... )