OrgChartSpec class
An org chart.
Org charts require a unique set of labels in labels and may optionally include parent_labels and tooltips. parent_labels contain, for each node, the label identifying the parent node. tooltips contain, for each node, an optional tooltip. For example, to describe an OrgChart with Alice as the CEO, Bob as the President (reporting to Alice) and Cathy as VP of Sales (also reporting to Alice), have labels contain "Alice", "Bob", "Cathy", parent_labels contain "", "Alice", "Alice" and tooltips contain "CEO", "President", "VP Sales".
Constructors
- OrgChartSpec({ChartData? labels, Color? nodeColor, ColorStyle? nodeColorStyle, String? nodeSize, ChartData? parentLabels, Color? selectedNodeColor, ColorStyle? selectedNodeColorStyle, ChartData? tooltips})
- OrgChartSpec.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- labels ↔ ChartData?
-
The data containing the labels for all the nodes in the chart.
getter/setter pair
- nodeColor ↔ Color?
-
The color of the org chart nodes.
getter/setter pair
- nodeColorStyle ↔ ColorStyle?
-
The color of the org chart nodes.
getter/setter pair
- nodeSize ↔ String?
-
The size of the org chart nodes.
Possible string values are:
getter/setter pair
- parentLabels ↔ ChartData?
-
The data containing the label of the parent for the corresponding node.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedNodeColor ↔ Color?
-
The color of the selected org chart nodes.
getter/setter pair
- selectedNodeColorStyle ↔ ColorStyle?
-
The color of the selected org chart nodes.
getter/setter pair
- tooltips ↔ ChartData?
-
The data containing the tooltip for the corresponding node.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited