HighchartsAreaRangeSeriesDataDataLabelsOptions class
Highcharts Options Widget.
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsAreaRangeSeriesDataDataLabelsOptions
Constructors
-
HighchartsAreaRangeSeriesDataDataLabelsOptions.new({String? align, String? alignTo, bool? allowOverlap, HighchartsSeriesDataLabelsAnimationOptions? animation, String? backgroundColor, String? borderColor, double? borderRadius, double? borderWidth, String? className, String? color, bool? crop, bool? defer, bool? enabled, HighchartsSeriesDataLabelsFilterOptions? filter, String? format, dynamic formatter, bool? inside, String? nullFormat, dynamic nullFormatter, String? overflow, double? padding, String? position, double? rotation, Map<
String, dynamic> ? shadow, String? shape, Map<String, String> ? style, HighchartsSeriesDataLabelsTextPathOptions? textPath, bool? useHTML, String? verticalAlign, double? xHigh, double? xLow, double? yHigh, double? yLow, double? zIndex}) - Highcharts Options Widget.
Properties
- align ↔ String?
-
Highcharts Options Widget.
getter/setter pair
- alignTo ↔ String?
-
Alignment method for data labels. If set to
plotEdges
, the labels are aligned within the plot area in the direction of the y-axis. So in a regular column chart, the labels are aligned vertically according to theverticalAlign
setting. In a bar chart, which is inverted, the labels are aligned horizontally according to thealign
setting. Applies to cartesian series only.getter/setter pair - allowOverlap ↔ bool?
-
Whether to allow data labels to overlap. To make the labels less
sensitive for overlapping, the
dataLabels.padding
can be set to 0.
getter/setter pair
- animation ↔ HighchartsSeriesDataLabelsAnimationOptions?
-
Enable or disable the initial animation when a series is displayed
for the
dataLabels
. The animation can also be set as a configuration object. Please note that this option only applies to the initial animation.getter/setter pair - backgroundColor ↔ String?
-
The background color or gradient for the data label. Setting it to
auto
will use the point's color.getter/setter pair - borderColor ↔ String?
-
The border color for the data label. Setting it to
auto
will use the point's color. Defaults toundefined
.getter/setter pair - borderRadius ↔ double?
-
The border radius in pixels for the data label.
getter/setter pair
- borderWidth ↔ double?
-
The border width in pixels for the data label.
getter/setter pair
- className ↔ String?
-
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.
getter/setter pair
- color ↔ String?
-
This options is deprecated.
Use style.color instead.
getter/setter pair
- crop ↔ bool?
-
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.
getter/setter pair
- defer ↔ bool?
-
Whether to defer displaying the data labels until the initial
series animation has finished. Setting to
false
renders the data label immediately. If set totrue
inherits the defer time set in plotOptions.series.animation.getter/setter pair - enabled ↔ bool?
-
Enable or disable the data labels.
getter/setter pair
- filter ↔ HighchartsSeriesDataLabelsFilterOptions?
-
A declarative filter to control of which data labels to display.
The declarative filter is designed for use when callback
functions are not available, like when the chart options require
a pure JSON structure or for use with graphical editors. For
programmatic control, use the
formatter
instead, and returnundefined
to disable a single data label.getter/setter pair - format ↔ String?
-
A
format string
for the data label. Available variables are the same as for
formatter
.getter/setter pair - formatter ↔ dynamic
-
Callback JavaScript function to format the data label. Note that if a
format
is defined, the format takes precedence and the formatter is ignored.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- inside ↔ bool?
-
For points with an extent, like columns or map areas, 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.getter/setter pair - nullFormat ↔ String?
-
Format for points with the value of null. Works analogously to
format.
nullFormat
can be applied only to series which support displaying null points.heatmap
andtilemap
supportsnullFormat
by default while the following series requires#series.nullInteraction
set totrue
:line
,spline
,area
,area-spline
,column
,bar
, andtimeline
. Does not work with series that don't display null points, likepie
.getter/setter pair - nullFormatter ↔ dynamic
-
Callback JavaScript function that defines formatting for points
with the value of null. Works analogously to formatter.
nullFormatter
can be applied only to series which support displaying null points.heatmap
andtilemap
supportsnullFormatter
by default while the following series requires#series.nullInteraction
set totrue
:line
,spline
,area
,area-spline
,column
,bar
, andtimeline
. Does not work with series that don't display null points, likepie
.getter/setter pair - overflow ↔ String?
-
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"allow"
.getter/setter pair - padding ↔ double?
-
When either the
borderWidth
or thebackgroundColor
is set, this is the padding within the box.getter/setter pair - position ↔ String?
-
Aligns data labels relative to points. If
center
alignment is not possible, it defaults toright
.getter/setter pair - rotation ↔ double?
-
Text rotation in degrees. Note that due to a more complex
structure, backgrounds, borders and padding will be lost on a
rotated data label.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadow
↔ Map<
String, dynamic> ? -
The shadow of the box. Works best with
borderWidth
orbackgroundColor
. Since 2.3 the shadow can be an object configuration containingcolor
,offsetX
,offsetY
,opacity
andwidth
.getter/setter pair - shape ↔ String?
-
The name of a symbol to use for the border around the label.
Symbols are predefined functions on the Renderer object.
getter/setter pair
-
style
↔ Map<
String, String> ? -
Styles for the label. The default
color
setting is"contrast"
, which is a pseudo color that Highcharts picks up and applies the maximum contrast to the underlying point item, for example the bar in a bar chart.getter/setter pair - textPath ↔ HighchartsSeriesDataLabelsTextPathOptions?
-
Options for a label text which should follow marker's shape.
Border and background are disabled for a label that follows a
path.
getter/setter pair
- useHTML ↔ bool?
-
Whether to
use HTML
to render the labels.
getter/setter pair
- verticalAlign ↔ String?
-
Highcharts Options Widget.
getter/setter pair
- xHigh ↔ double?
-
X offset of the higher data labels relative to the point value.
getter/setter pair
- xLow ↔ double?
-
X offset of the lower data labels relative to the point value.
getter/setter pair
- yHigh ↔ double?
-
Y offset of the higher data labels relative to the point value.
getter/setter pair
- yLow ↔ double?
-
Y offset of the lower data labels relative to the point value.
getter/setter pair
- zIndex ↔ double?
-
The z index of the data labels. Use a
zIndex
of 6 to display it above the series, or use azIndex
of 2 to display it behind the series.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited