com.vaadin.flow.component.charts.model.
Class TreeSeriesItem
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AbstractSeriesItem
com.vaadin.flow.component.charts.model.TreeSeriesItem
All Implemented Interfaces:
This class represents one node in a TreeSeries
.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTreeSeriesItem
(String name, int value) TreeSeriesItem
(String name, TreeSeriesItem parent, int value) TreeSeriesItem
(String id, String name) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
void
setColorValue
(Number colorValue) This value will decide which color the point gets from the scale of the colorAxis.
void
setParent
(TreeSeriesItem parent) Set the parent of this node.
void
The value should be the id of the point which is the parent.
void
Set the numeric value of this node
Methods inherited from class com.vaadin.flow.component.charts.model.AbstractSeriesItem
getClassName, getColor, getColorIndex, getId, getLegendIndex, getMarker, getName, getSliced, getX, getY, setClassName, setColor, setColorIndex, setId, setLegendIndex, setMarker, setName, setSliced, setX, setX, setX, setY
-
Constructor Details
-
TreeSeriesItem
public TreeSeriesItem() -
TreeSeriesItem
-
TreeSeriesItem
-
TreeSeriesItem
-
-
Method Details
-
getParent
Returns:
See Also:
-
setParent
The value should be the id of the point which is the parent. If no points has a matching id, or this option is null, then the parent will be set to the root. Defaults to null.
Parameters:
parent
- -
setParent
Set the parent of this node.
Parameters:
parent
- -
getValue
Returns:
See Also:
-
setValue
Set the numeric value of this node
Parameters:
value
- -
getColorValue
Returns:
See Also:
-
setColorValue
This value will decide which color the point gets from the scale of the colorAxis.
Parameters:
colorValue
-
-