io.udash.wrappers.highcharts.config.series
The background color or gradient for the data label. Defaults to undefined
.
The border color for the data label. Defaults to undefined
.
The border radius in pixels for the data label.
The border width in pixels for the data label.
The text color for the data labels. Defaults to null
.
The color of the line connecting the data label to the pie slice. The default color is the same as the point's color.
The distance from the data label to the connector.
The width of the line connecting the data label to the pie slice.
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.
Whether to defer displaying the data labels until the initial series animation has finished.
The distance of the data label from the pie's edge. Negative numbers put the data label on top of the pie slices. Connectors are only shown for data labels outside the pie.
Enable or disable the data labels.
A format string for the data label. Available variables are the same as for formatter
.
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.percentage | . Stacked series and pies only. The point's percentage of the total. | .
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 . | .
this.total | . Stacked series only. The total value at this point's x value. | .
this.x : | . The x value. | .
this.y : | . The y value. | .
For points with an extent, like columns, whether to align the data label inside the box or to the actual value point. Defaults to false
in most cases, true
in stacked columns.
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"
.
When either the borderWidth
or the backgroundColor
is set, this is the padding within the box.
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.
Text rotation in degrees. Note that due to a more complex structure, backgrounds, borders and padding will be lost on a rotated data label.
The shadow of the box. Works best with borderWidth
or backgroundColor
. Since 2.3 the shadow can be an object configuration containing color
, offsetX
, offsetY
, opacity
and width
.
The name of a symbol to use for the border around the label. Symbols are predefined functions on the Renderer object.
Whether to render the connector as a soft arc or a line with sharp break.
Styles for the label.
Whether to use HTML to render the labels.
The vertical alignment of a data label. Can be one of top
, middle
or bottom
. The default value depends on the data, for instance in a column chart, the label is above positive values and below negative values.
The x position offset of the label relative to the point.
The y position offset of the label relative to the point.
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.