Class TreeSeriesItem

All Implemented Interfaces:
Serializable

public class TreeSeriesItem extends AbstractSeriesItem
This class represents one node in a TreeSeries.
See Also:
  • Constructor Details

    • TreeSeriesItem

      public TreeSeriesItem()
    • TreeSeriesItem

      public TreeSeriesItem(String id, String name)
    • TreeSeriesItem

      public TreeSeriesItem(String name, TreeSeriesItem parent, int value)
    • TreeSeriesItem

      public TreeSeriesItem(String name, int value)
  • Method Details

    • getParent

      public String getParent()
      Returns:
      See Also:
    • 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 -
    • getValue

      public Number getValue()
      Returns:
      See Also:
    • setValue

      public void setValue(Number value)
      Set the numeric value of this node
      Parameters:
      value -
    • getColorValue

      public Number getColorValue()
      Returns:
      See Also:
    • setColorValue

      public void setColorValue(Number colorValue)
      This value will decide which color the point gets from the scale of the colorAxis.
      Parameters:
      colorValue -