Class/Object

com.highmaps.config

PlotOptionsMapDataLabels

Related Docs: object PlotOptionsMapDataLabels | package config

Permalink

class PlotOptionsMapDataLabels extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: plotOptions-map-dataLabels

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

Instance Constructors

  1. new PlotOptionsMapDataLabels()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val align: UndefOr[String]

    Permalink

    The alignment of the data label compared to the point.

    The alignment of the data label compared to the point. If right, the right side of the label should be touching the point. For points with an extent, like map areas, the alignments also dictates how to align it inside the box, as given with the inside option. Can be one of "left", "center" or "right".

  5. val allowOverlap: UndefOr[Boolean]

    Permalink

    Whether to allow data labels to overlap.

    Whether to allow data labels to overlap. To make the labels less sensitive for overlapping, the dataLabels.padding can be set to 0.

    Since

    1.1.0

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val backgroundColor: UndefOr[|[String, Object]]

    Permalink

    The background color or gradient for the data label.

    The background color or gradient for the data label. Defaults to undefined.

  8. val borderColor: UndefOr[|[String, Object]]

    Permalink

    The border color for the data label.

    The border color for the data label. Defaults to undefined.

  9. val borderRadius: UndefOr[Double]

    Permalink

    The border radius in pixels for the data label.

    The border radius in pixels for the data label.

  10. val borderWidth: UndefOr[Double]

    Permalink

    The border width in pixels for the data label.

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val color: UndefOr[|[String, Object]]

    Permalink

    The text color for the data labels.

    The text color for the data labels. Defaults to null. Note that data labels in Highmaps by default have a style.HcTextStroke in order to make the text readable against any background. When the color is changed, it is also recommended to change this.

  13. val crop: UndefOr[Boolean]

    Permalink

    Whether to hide data labels that are outside the plot area.

    Whether to hide data labels that are outside the plot area. By default, the data label is moved inside the plot area according to the overflow option.

  14. val enabled: UndefOr[Boolean]

    Permalink

    Enable or disable the data labels.

    Enable or disable the data labels.

  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val format: UndefOr[String]

    Permalink

    A format string for the data label.

    A format string for the data label. Available variables are the same as for formatter.

  19. val formatter: UndefOr[Function]

    Permalink

    Callback JavaScript function to format the data label.

    Callback JavaScript function to format the data label. Note that if a format is defined, the format takes precedence and the formatter is ignored. Available data are:

    this.point The point object. The point name, if defined, is available through this.point.name.
    this.series: The series object. The series name is available through this.series.name.

    Example:
    1. Formatted value

  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val overflow: UndefOr[String]

    Permalink

    How to handle data labels that flow outside the plot area.

    How to handle data labels that flow outside the plot area. The default is justify, which aligns them inside the plot area. For columns and bars, this means it will be moved inside the bar. To display data labels outside the plot area, set crop to false and overflow to "none".

  29. val padding: UndefOr[Double]

    Permalink

    When either the borderWidth or the backgroundColor is set, this is the padding within the box.

    When either the borderWidth or the backgroundColor is set, this is the padding within the box.

  30. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  31. val rotation: UndefOr[Double]

    Permalink

    Text rotation in degrees.

    Text rotation in degrees. Note that due to a more complex structure, backgrounds, borders and padding will be lost on a rotated data label.

  32. val shadow: UndefOr[|[Boolean, Object]]

    Permalink

    The shadow of the box.

    The shadow of the box. Works best with borderWidth or backgroundColor. The shadow can also be an object configuration containing color, offsetX, offsetY, opacity and width.

  33. val shape: UndefOr[String]

    Permalink

    The name of a symbol to use for the border around the label.

    The name of a symbol to use for the border around the label. Symbols are predefined functions on the Renderer object.

    Since

    1.1.2

  34. val style: UndefOr[Object]

    Permalink

    Styles for the label.

    Styles for the label. Note that changes in the text color should be accompanied with changes in HcTextStroke in order for the text to stand out against the background.

    Example:
    1. Bold labels

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. val useHTML: UndefOr[Boolean]

    Permalink

    Whether to use HTML to render the labels.

    Whether to use HTML to render the labels.

  39. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  40. val verticalAlign: Any

    Permalink

    The vertical alignment of a data label.

    The vertical alignment of a data label. Can be one of top, middle or bottom.

  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. val x: UndefOr[Double]

    Permalink

    The x position offset of the label relative to the point.

  45. val y: UndefOr[Double]

    Permalink

    The y position offset of the label relative to the point.

  46. val zIndex: UndefOr[Double]

    Permalink

    The Z index of the data labels.

    The Z index of the data labels. The default Z index puts it above the series. Use a Z index of 2 to display it behind the series.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped