You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.model.

Class TreeSeriesItem

    • Constructor Detail

      • TreeSeriesItem

        public TreeSeriesItem()
      • TreeSeriesItem

        public TreeSeriesItem​(String id,
                              String name)
      • TreeSeriesItem

        public TreeSeriesItem​(String name,
                              int value)
    • Method Detail

      • setParent

        public void setParent​(String parent)

        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

        public void setParent​(TreeSeriesItem parent)

        Set the parent of this node.

        Parameters:

        parent -

      • setValue

        public void setValue​(Number value)

        Set the numeric value of this node

        Parameters:

        value -

      • setColorValue

        public void setColorValue​(Number colorValue)

        This value will decide which color the point gets from the scale of the colorAxis.

        Parameters:

        colorValue -