class YAxisLabels extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
yAxis-labels
- Alphabetic
- By Inheritance
- YAxisLabels
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new YAxisLabels()
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
-
val
align: UndefOr[String]
What part of the string the given position is anchored to.
What part of the string the given position is anchored to. Can be one of
"left"
,"center"
or"right"
. The exact position also depends on thelabels.x
setting. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
enabled: UndefOr[Boolean]
Enable or disable the axis labels.
-
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] )
-
val
format: UndefOr[String]
A format string for the axis label.
A format string for the axis label.
-
val
formatter: UndefOr[Function]
Callback JavaScript function to format the label.
Callback JavaScript function to format the label. The value is given by
this.value
. Additional properties forthis
areaxis
,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; }
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
maxStaggerLines: UndefOr[Double]
Horizontal axis only.
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. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
overflow: UndefOr[String]
How to handle overflowing labels on horizontal axis.
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.
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
rotation: UndefOr[Double]
Rotation of the labels in degrees.
-
val
staggerLines: UndefOr[Double]
Horizontal axes only.
Horizontal axes only. The number of lines to spread the labels over to make room or tighter labels. .
-
val
step: UndefOr[Double]
To show only every n'th label on the axis, set the step to n.
To show only every n'th label on the axis, set the step to n. Setting the step to 2 shows every other label.
-
val
style: UndefOr[Object]
CSS styles for the label.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
useHTML: UndefOr[Boolean]
Whether to use HTML to render the labels.
Whether to use HTML to render the labels.
-
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
- @throws( ... )
-
val
x: UndefOr[Double]
The x position offset of the label relative to the tick position on the axis.
The x position offset of the label relative to the tick position on the axis. Defaults to -15 for left axis, 15 for right axis.
-
val
y: UndefOr[Double]
The y position offset of the label relative to the tick position on the axis.
-
val
zIndex: UndefOr[Double]
The Z index for the axis labels.