Class TreeMapDataPoint


  • public final class TreeMapDataPoint
    extends AbstractDataPoint
    Used for treemap datasets. Each data point is related to a box drawn on treemap chart.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getData

        public InnerData getData()
        Returns the inner data.
        Returns:
        the inner data
      • getSumKeysData

        public TreeMapSumKeysData getSumKeysData()
        Returns the sum keys data.
        Returns:
        the sum keys data.
      • getData

        public <T extends NativeObjectContainer> T getData​(NativeObjectContainerFactory<T> factory)
        Returns the object in the user format of the data point.
        Type Parameters:
        T - type of user object
        Parameters:
        factory - instance of factory to create the native object
        Returns:
        the object in the user format of the data point
      • getNormalized

        public double getNormalized()
        Returns the normalized value.
        Returns:
        the normalized value
      • getX

        public double getX()
        Returns X value.
        Returns:
        X value
      • getY

        public double getY()
        Returns Y value.
        Returns:
        Y value.
      • getWidth

        public double getWidth()
        Returns the width in pixel.
        Returns:
        the width in pixel.
      • getHeight

        public double getHeight()
        Returns the height in pixel.
        Returns:
        the height in pixel.
      • getValue

        public double getValue()
        Returns the value.
        Returns:
        the value.
      • getSum

        public double getSum()
        Returns the sum.
        Returns:
        the sum.
      • getDepth

        public double getDepth()
        Returns the depth, only available if grouping.
        Returns:
        the depth, only available if grouping.
      • getGroup

        public String getGroup()
        Returns the group name, only available if grouping.
        Returns:
        the group name, only available if grouping.
      • getGroupSum

        public double getGroupSum()
        Returns the group sum, only available if grouping.
        Returns:
        the group sum, only available if grouping.