class PlotOptionsMapbubbleDataLabels extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
plotOptions-mapbubble-dataLabels
- Alphabetic
- By Inheritance
- PlotOptionsMapbubbleDataLabels
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PlotOptionsMapbubbleDataLabels()
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]
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". -
val
allowOverlap: UndefOr[Boolean]
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
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
backgroundColor: UndefOr[|[String, Object]]
The background color or gradient for the data label.
The background color or gradient for the data label. Defaults to
undefined
.Example: -
val
borderColor: UndefOr[|[String, Object]]
The border color for the data label.
The border color for the data label. Defaults to
undefined
. -
val
borderRadius: UndefOr[Double]
The border radius in pixels for the data label.
The border radius in pixels for the data label.
Example: -
val
borderWidth: UndefOr[Double]
The border width in pixels for the data label.
-
val
className: UndefOr[String]
A class name for the data label.
A class name for the data label. Particularly in styled mode, this can be used to give each series' or point's data label unique styling. In addition to this option, a default color class name is added so that we can give the labels a contrast text shadow.
- Since
5.0.0
Example: -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
color: UndefOr[|[String, Object]]
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 astyle.HcTextStroke
in order to make the text readable against any background. When the color is changed, it is also recommended to change this.Example: -
val
crop: UndefOr[Boolean]
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.
-
val
enabled: UndefOr[Boolean]
Enable or disable the data labels.
Enable or disable the data 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 data label.
A format string for the data label. Available variables are the same as for
formatter
.Example: -
val
formatter: UndefOr[Function]
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: -
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
-
val
overflow: UndefOr[String]
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, setcrop
tofalse
andoverflow
to"none"
. -
val
padding: UndefOr[Double]
When either the
borderWidth
or thebackgroundColor
is set, this is the padding within the box.When either the
borderWidth
or thebackgroundColor
is set, this is the padding within the box.Example: -
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
rotation: UndefOr[Double]
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.
-
val
shadow: UndefOr[|[Boolean, Object]]
The shadow of the box.
The shadow of the box. Works best with
borderWidth
orbackgroundColor
. The shadow can also be an object configuration containingcolor
,offsetX
,offsetY
,opacity
andwidth
. -
val
shape: UndefOr[String]
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
-
val
style: UndefOr[Object]
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: -
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
-
val
verticalAlign: Any
The vertical alignment of a data label.
The vertical alignment of a data label. Can be one of
top
,middle
orbottom
. -
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 point.
-
val
y: UndefOr[Double]
The y position offset of the label relative to the point.
-
val
zIndex: UndefOr[Double]
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.