Packages

object XAxisLabels

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

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. def apply(align: UndefOr[String] = js.undefined, autoRotation: UndefOr[Array[Double]] = js.undefined, autoRotationLimit: UndefOr[Double] = js.undefined, distance: UndefOr[Double] = 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, padding: UndefOr[Double] = js.undefined, reserveSpace: UndefOr[Boolean] = 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): XAxisLabels

    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.

    autoRotation

    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.

    autoRotationLimit

    When each category width is more than this many pixels, we don't apply auto rotation. Instead, we lay out the axis label with word wrap. A lower limit makes sense when the label contains multiple short words that don't extend the available horizontal space for each label.

    distance

    Polar charts only. The label's pixel distance from the perimeter of the plot area.

    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 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;. }
    

    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 to 1 to disable overlap detection.

    overflow

    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.

    padding

    The pixel padding for axis labels, to ensure white space between them.

    reserveSpace

    Whether to reserve space for the labels. This can be turned off when for example the labels are rendered inside the plot area instead of outside.

    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.. . By default, the step is calculated automatically to avoid overlap. To prevent this, set it to 1. This usually only happens on a category axis, and is often a sign that you have chosen the wrong axis type. Read more at Axis docs => What axis should I use?

    style

    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.

    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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped