Packages

class XAxisLabels extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: xAxis-labels

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XAxisLabels
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new XAxisLabels()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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. 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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val enabled: UndefOr[Boolean]

    Enable or disable the axis labels.

    Enable or disable the axis labels.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val format: UndefOr[String]

    A format string for the axis label.

    A format string for the axis label.

    Since

    3.0

  13. 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 for this are axis, chart, isFirst and isLast. The value of the default label formatter can be retrieved by calling this.axis.defaultLabelFormatter.call(this) within the function.

    Defaults to:

    function() {
    	return this.value;
    }
    

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. 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 to 1 to disable overlap detection.

    Since

    1.3.3

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. val overflow: UndefOr[String]

    How to handle overflowing labels on horizontal axis.

    How to handle overflowing labels on horizontal axis. Can be undefined, false or "justify". By default it aligns inside the chart area. If "justify", labels will not render outside the plot area. If false, it will not be aligned at all. If there is room to move it, it will be aligned to the edge, else it will be removed.

    Since

    1.1.6

  24. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  25. val rotation: UndefOr[Double]

    Rotation of the labels in degrees.

  26. 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. .

  27. 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.

  28. val style: UndefOr[Object]

    CSS styles for the label.

    CSS styles for the label. Use whiteSpace: 'nowrap' to prevent wrapping of category labels. Use textOverflow: 'none' to prevent ellipsis (dots).

    In styled mode, the labels are styled with the .highcharts-axis-labels class.

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toLocaleString(): String
    Definition Classes
    Object
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. val useHTML: UndefOr[Boolean]

    Whether to use HTML to render the labels.

    Whether to use HTML to render the labels.

  33. def valueOf(): Any
    Definition Classes
    Object
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. val x: UndefOr[Double]

    The x position offset of the label relative to the tick position on the axis.

  38. val y: UndefOr[Double]

    The y position offset of the label relative to the tick position on the axis.

    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.

  39. val zIndex: UndefOr[Double]

    The Z index for the axis labels.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped