HighchartsTreegraphSeriesDataOptions class
An array of data points for the series. For the treegraph
series type,
points can be given in the following ways:
- The array of arrays, with
keys
property, which defines how the fields in array should be interpreted data:{ id: 'Category1' }, { id: 'Category1', parent: 'Category2', }
API Docs: https://api.highcharts.com/highcharts/series.treegraph.data
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsTreegraphSeriesDataOptions
Constructors
-
HighchartsTreegraphSeriesDataOptions.new({HighchartsTreegraphSeriesDataAccessibilityOptions? accessibility, String? className, dynamic collapseButton, bool? collapsed, String? color, double? colorIndex, double? colorValue, Map<
String, dynamic> ? custom, HighchartsTreegraphSeriesDataDataLabelsOptions? dataLabels, String? description, HighchartsTreegraphSeriesDataDragDropOptions? dragDrop, String? drilldown, HighchartsTreegraphSeriesDataEventsOptions? events, String? id, double? labelrank, HighchartsTreegraphSeriesDataMarkerOptions? marker, String? name, String? parent, bool? selected}) -
An array of data points for the series. For the
treegraph
series type, points can be given in the following ways:
Properties
- accessibility ↔ HighchartsTreegraphSeriesDataAccessibilityOptions?
-
Accessibility options for a data point.
getter/setter pair
- className ↔ String?
-
An additional, individual class name for the data point's graphic
representation. Changes to a point's color will also be reflected in a
chart's legend and tooltip.
getter/setter pair
- collapseButton ↔ dynamic
-
Options used for button, which toggles the collapse status of the node.
getter/setter pair
- collapsed ↔ bool?
-
If point's children should be initially hidden
getter/setter pair
- color ↔ String?
-
The color of the point. In heat maps the point color is rarely set
explicitly, as we use the color to denote the
value
. Options for this are set in the colorAxis configuration.getter/setter pair - colorIndex ↔ double?
-
A specific color index to use for the point, so its graphic representations
are given the class name
highcharts-color-{n}
. In styled mode this will change the color of the graphic. In non-styled mode, the color is set by thefill
attribute, so the change in class name won't have a visual effect by default.getter/setter pair - colorValue ↔ double?
-
Serves a purpose only if a
colorAxis
object is defined in the chart options. This value will decide which color the point gets from the scale of the colorAxis.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 ↔ HighchartsTreegraphSeriesDataDataLabelsOptions?
-
Highcharts Options Widget.
getter/setter pair
- description ↔ String?
-
A description of the point to add to the screen reader information
about the point.
getter/setter pair
- dragDrop ↔ HighchartsTreegraphSeriesDataDragDropOptions?
-
Point specific options for the draggable-points module. Overrides options
on
series.dragDrop
.getter/setter pair - drilldown ↔ String?
-
The
id
of a series in the drilldown.series array to use for a drilldown for this point.getter/setter pair - events ↔ HighchartsTreegraphSeriesDataEventsOptions?
-
The individual point events.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
An id for the point. This can be used after render time to get a
pointer to the point object through
chart.get()
.getter/setter pair - labelrank ↔ double?
-
The rank for this point's data label in case of collision. If two
data labels are about to overlap, only the one with the highest
labelrank
will be drawn.getter/setter pair - marker ↔ HighchartsTreegraphSeriesDataMarkerOptions?
-
Highcharts Options Widget.
getter/setter pair
- name ↔ String?
-
The name of the point as shown in the legend, tooltip, dataLabels, etc.
getter/setter pair
- parent ↔ String?
-
Only for treemap. Use this option to build a tree structure. The
value should be the id of the point which is the parent. If no points
has a matching id, or this option is undefined, then the parent will
be set to the root.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected ↔ bool?
-
Whether the data point is selected initially.
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