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
-
val
autoRotation: UndefOr[Array[Double]]
For horizontal axes, the allowed degrees of label rotation to prevent overlapping labels.
For horizontal axes, the allowed degrees of label rotation to prevent overlapping labels. If there is enough space, labels are not rotated. As the chart gets narrower, it will start rotating the labels -45 degrees, then remove every second label and try again with rotations 0 and -45 etc. Set it to
false
to disable rotation, which will cause the labels to word-wrap if possible.- Since
2.1.0
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
enabled: UndefOr[Boolean]
Enable or disable the axis labels.
Enable or disable the axis labels.
Example: -
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.
- Since
3.0
Example: -
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; }
Example: -
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
rotation: UndefOr[Double]
Rotation of the labels in degrees.
-
val
style: UndefOr[Object]
CSS styles for the label.
CSS styles for the label. Use
whiteSpace: 'nowrap'
to prevent wrapping of category labels. UsetextOverflow: 'none'
to prevent ellipsis (dots).In styled mode, the labels are styled with the
.highcharts-axis-labels
class. -
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.
-
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.