HighchartsItemSeriesOptions class
An item
series. If the type option is not specified,
it is inherited from chart.type.
Configuration options for the series are given in three levels:
- Options for all series in a chart are defined in the plotOptions.series object.
- Options for all
item
series are defined in plotOptions.item. - Options for one single series are given in the series instance array.
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsItemSeriesOptions
Constructors
-
HighchartsItemSeriesOptions.new({HighchartsSeriesAccessibilityOptions? accessibility, bool? allowPointSelect, dynamic animation, Map<
String, dynamic> ? borderRadius, List? center, String? className, bool? clip, String? color, dynamic colorAxis, double? colorIndex, String? colorKey, List? colors, bool? crisp, String? cursor, Map<String, dynamic> ? custom, HighchartsItemSeriesDataLabelsOptions? dataLabels, String? description, bool? enableMouseTracking, double? endAngle, HighchartsItemSeriesEventsOptions? events, String? fillColor, String? id, bool? ignoreHiddenPoint, HighchartsItemSeriesInactiveOtherPointsOptions? inactiveOtherPoints, bool? includeInDataExport, double? index, dynamic innerSize, double? itemPadding, List<String> ? keys, String? layout, double? legendIndex, String? legendSymbol, String? legendSymbolColor, HighchartsItemSeriesMarkerOptions? marker, dynamic minSize, bool? nullInteraction, HighchartsSeriesOnPointOptions? onPoint, double? opacity, HighchartsItemSeriesPointOptions? point, dynamic pointDescriptionFormat, dynamic pointDescriptionFormatter, bool? relativeXValue, double? rows, bool? selected, bool? showCheckbox, bool? showInLegend, dynamic size, HighchartsSeriesSonificationOptions? sonification, double? startAngle, HighchartsItemSeriesStatesOptions? states, bool? stickyTracking, double? thickness, HighchartsItemSeriesTooltipOptions? tooltip, bool? visible, double? zIndex}) -
An
item
series. If the type option is not specified, it is inherited from chart.type.
Properties
- accessibility ↔ HighchartsSeriesAccessibilityOptions?
-
Accessibility options for a series.
getter/setter pair
- allowPointSelect ↔ bool?
-
Allow this series' points to be selected by clicking on the graphic
(columns, point markers, pie slices, map areas etc).
getter/setter pair
- animation ↔ dynamic
-
Enable or disable the initial animation when a series is displayed.
The animation can also be set as a configuration object. Please
note that this option only applies to the initial animation of the
series itself. For other animations, see chart.animation and the animation parameter under the API methods.
The following properties are supported:
getter/setter pair
-
borderRadius
↔ Map<
String, dynamic> ? -
The corner radius of the border surrounding each slice. A number
signifies pixels. A percentage string, like for example
50%
, signifies a size relative to the radius and the inner radius.getter/setter pair - center ↔ List?
-
The center of the pie chart relative to the plot area. Can be
percentages or pixel values. The default behaviour (as of 3.0) is to
center the pie so that all slices and data labels are within the plot
area. As a consequence, the pie may actually jump around in a chart
with dynamic values, as the data labels move. In that case, the
center should be explicitly set, for example to
["50%", "50%"]
.getter/setter pair - className ↔ String?
-
An additional class name to apply to the series' graphical elements.
This option does not replace default class names of the graphical
element. Changes to the series' color will also be reflected in a
chart's legend and tooltip.
getter/setter pair
- clip ↔ bool?
-
Highcharts Options Widget.
getter/setter pair
- color ↔ String?
-
The color of the pie series. A pie series is represented as an empty
circle if the total sum of its values is 0. Use this property to
define the color of its border.
getter/setter pair
- colorAxis ↔ dynamic
-
When using dual or multiple color axes, this number defines which
colorAxis the particular series is connected to. It refers to
either the
axis id
or the index of the axis in the colorAxis array, with 0 being the
first. Set this option to false to prevent a series from connecting
to the default color axis.
getter/setter pair
- colorIndex ↔ double?
-
Styled mode only. A specific color index to use for the series, so its
graphic representations are given the class name
highcharts-color-{n}
.getter/setter pair - colorKey ↔ String?
-
Determines what data value should be used to calculate point color
if
colorAxis
is used. Requires to setmin
andmax
if some custom point property is used or if approximation for data grouping is set to'sum'
.getter/setter pair - colors ↔ List?
-
A series specific or series type specific color set to use instead
of the global colors.
getter/setter pair
- crisp ↔ bool?
-
Highcharts Options Widget.
getter/setter pair
- cursor ↔ String?
-
You can set the cursor to "pointer" if you have click events attached
to the series, to signal to the user that the points and lines can
be clicked.
getter/setter pair
-
custom
↔ Map<
String, dynamic> ? -
A reserved subspace to store options and values for customized
functionality. Here you can add additional data for your own event
callbacks and formatter callbacks.
getter/setter pair
- dataLabels ↔ HighchartsItemSeriesDataLabelsOptions?
-
Highcharts Options Widget.
getter/setter pair
- description ↔ String?
-
A description of the series to add to the screen reader information
about the series.
getter/setter pair
- enableMouseTracking ↔ bool?
-
Enable or disable the mouse tracking for a specific series. This
includes point tooltips and click events on graphs and points. For
large datasets it improves performance.
getter/setter pair
- endAngle ↔ double?
-
In circular view, the end angle of the item layout, in degrees where
0 is up.
getter/setter pair
- events ↔ HighchartsItemSeriesEventsOptions?
-
Highcharts Options Widget.
getter/setter pair
- fillColor ↔ String?
-
If the total sum of the pie's values is 0, the series is represented
as an empty circle . The
fillColor
option defines the color of that circle. Use pie.borderWidth to set the border thickness.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
An id for the series. This can be used after render time to get a pointer
to the series object through
chart.get()
.getter/setter pair - ignoreHiddenPoint ↔ bool?
-
Equivalent to chart.ignoreHiddenSeries,
this option tells whether the series shall be redrawn as if the
hidden point were
null
.getter/setter pair - inactiveOtherPoints ↔ HighchartsItemSeriesInactiveOtherPointsOptions?
-
Highcharts Options Widget.
getter/setter pair
- includeInDataExport ↔ bool?
-
When set to
false
will prevent the series data from being included in any form of data export.getter/setter pair - index ↔ double?
-
The index of the series in the chart, affecting the internal index in the
chart.series
array, the visible Z index as well as the order in the legend.getter/setter pair - innerSize ↔ dynamic
-
In circular view, the size of the inner diameter of the circle. Can
be a percentage or pixel value. Percentages are relative to the outer
perimeter. Pixel values are given as integers.
getter/setter pair
- itemPadding ↔ double?
-
The padding between the items, given in relative size where the size
of the item is 1.
getter/setter pair
-
keys
↔ List<
String> ? -
An array specifying which option maps to which key in the data point
array. This makes it convenient to work with unstructured data arrays
from different sources.
getter/setter pair
- layout ↔ String?
-
The layout of the items in rectangular view. Can be either
horizontal
orvertical
.getter/setter pair - legendIndex ↔ double?
-
The sequential index of the series in the legend.
getter/setter pair
- legendSymbol ↔ String?
-
What type of legend symbol to render for this series. Can be one of
areaMarker
,lineMarker
orrectangle
.getter/setter pair - legendSymbolColor ↔ String?
-
Defines the color of the legend symbol for this series. Defaults to
undefined, in which case the series color is used. Does not work with
styled mode.
getter/setter pair
- marker ↔ HighchartsItemSeriesMarkerOptions?
-
Highcharts Options Widget.
getter/setter pair
- minSize ↔ dynamic
-
The minimum size for a pie in response to auto margins. The pie will
try to shrink to make room for data labels in side the plot area,
but only to this size.
getter/setter pair
- nullInteraction ↔ bool?
-
Whether or not data-points with the value of
null
should be interactive. When this is set totrue
, tooltips may highlight these points, and this option also enables keyboard navigation for such points. Format options for such points includenullFormat
andnullFormater
. Works for these series:line
,spline
,area
,area-spline
,column
,bar
, and*timeline
.getter/setter pair - onPoint ↔ HighchartsSeriesOnPointOptions?
-
Options for the Series on point feature. Only
pie
andsunburst
series are supported at this moment.getter/setter pair - opacity ↔ double?
-
Opacity of a series parts: line, fill (e.g. area) and dataLabels.
getter/setter pair
- point ↔ HighchartsItemSeriesPointOptions?
-
Highcharts Options Widget.
getter/setter pair
- pointDescriptionFormat ↔ dynamic
-
Same as
accessibility.point.descriptionFormat,
but for an individual series. Overrides the chart wide configuration.
getter/setter pair
- pointDescriptionFormatter ↔ dynamic
-
Same as
accessibility.series.descriptionFormatter,
but for an individual series. Overrides the chart wide configuration.
getter/setter pair
- relativeXValue ↔ bool?
-
When true, X values in the data set are relative to the current
pointStart
,pointInterval
andpointIntervalUnit
settings. This allows compression of the data for datasets with irregular X values.getter/setter pair - rows ↔ double?
-
The number of rows to display in the rectangular or circular view. If
the
innerSize
is set, it will be overridden by therows
setting.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected ↔ bool?
-
Whether to select the series initially. If
showCheckbox
is true, the checkbox next to the series name in the legend will be checked for a selected series.getter/setter pair - showCheckbox ↔ bool?
-
If true, a checkbox is displayed next to the legend item to allow
selecting the series. The state of the checkbox is determined by
the
selected
option.getter/setter pair - showInLegend ↔ bool?
-
Highcharts Options Widget.
getter/setter pair
- size ↔ dynamic
-
The diameter of the pie relative to the plot area. Can be a
percentage or pixel value. Pixel values are given as integers. The
default behaviour (as of 3.0) is to scale to the plot area and give
room for data labels within the plot area.
slicedOffset is also included in the
default size calculation. As a consequence, the size of the pie may
vary when points are updated and data labels more around. In that
case it is best to set a fixed value, for example
"75%"
.getter/setter pair -
If set to
true
, the accessibility module will skip past the points in this series for keyboard navigation.getter/setter pair - sonification ↔ HighchartsSeriesSonificationOptions?
-
Sonification/audio chart options for a series.
getter/setter pair
- startAngle ↔ double?
-
In circular view, the start angle of the item layout, in degrees
where 0 is up.
getter/setter pair
- states ↔ HighchartsItemSeriesStatesOptions?
-
Highcharts Options Widget.
getter/setter pair
- stickyTracking ↔ bool?
-
Sticky tracking of mouse events. When true, the
mouseOut
event on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, themouseOut
event on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip. WhenstickyTracking
is false andtooltip.shared
is false, the tooltip will be hidden when moving the mouse between series.getter/setter pair - thickness ↔ double?
-
Thickness describing the ring size for a donut type chart,
overriding innerSize.
getter/setter pair
- tooltip ↔ HighchartsItemSeriesTooltipOptions?
-
Highcharts Options Widget.
getter/setter pair
- visible ↔ bool?
-
Set the initial visibility of the series.
getter/setter pair
- zIndex ↔ double?
-
Define the visual z index of 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