Class ChartBreak



  • public class ChartBreak
    extends ColorBreak
    Chart break class
    • Constructor Detail

      • ChartBreak

        public ChartBreak​(ChartTypes chartType)
        Constructor
        Parameters:
        chartType - Chart type
    • Method Detail

      • getChartType

        public ChartTypes getChartType​()
        Get chart type
        Returns:
        Chart type
      • setChartType

        public void setChartType​(ChartTypes cType)
        Set chart type
        Parameters:
        cType - Chart type
      • getChartData

        public java.util.List<java.lang.Float> getChartData​()
        Get chart data
        Returns:
        Chart data list
      • setChartData

        public void setChartData​(java.util.List<java.lang.Float> cData)
        Set chart data
        Parameters:
        cData - Chart data list
      • getItemNum

        public int getItemNum​()
        Get chart item number
        Returns:
        Chart item number
      • getDataSum

        public float getDataSum​()
        Get chart data sum
        Returns:
        Chart data sum
      • getXShift

        public int getXShift​()
        Get x shift
        Returns:
        X shift
      • setXShift

        public void setXShift​(int xshift)
        Set x shift
        Parameters:
        xshift - X shift
      • getYShift

        public int getYShift​()
        Get y shift
        Returns:
        Y shift
      • setYShift

        public void setYShift​(int yshift)
        Set y shift
        Parameters:
        yshift - Y shift
      • getLegendScheme

        public LegendScheme getLegendScheme​()
        Get legend scheme
        Returns:
        Legend Scheme
      • setLegendScheme

        public void setLegendScheme​(LegendScheme ls)
        Set legend scheme
        Parameters:
        ls - Legend scheme
      • getMaxSize

        public int getMaxSize​()
        Get maximum size
        Returns:
        Maximum size
      • setMaxSize

        public void setMaxSize​(int maxSize)
        Set maximum size
        Parameters:
        maxSize - Maximum size
      • getMinSize

        public int getMinSize​()
        Get minimum size
        Returns:
        Minimum size
      • setMinSize

        public void setMinSize​(int minSize)
        Set minimum size
        Parameters:
        minSize - Minimum size
      • getMaxValue

        public float getMaxValue​()
        Get maximum value
        Returns:
        Maximum value
      • setMaxValue

        public void setMaxValue​(float maxValue)
        Set maximum value
        Parameters:
        maxValue - Maximum value
      • getMinValue

        public float getMinValue​()
        Get minimum value
        Returns:
        Minimum value
      • setMinValue

        public void setMinValue​(float minValue)
        Set minimum value
        Parameters:
        minValue - Minimum value
      • getBarWidth

        public int getBarWidth​()
        Get bar width
        Returns:
        Bar width
      • setBarWidth

        public void setBarWidth​(int width)
        Set bar width
        Parameters:
        width - Bar width
      • getAlignType

        public AlignType getAlignType​()
        Get align type
        Returns:
        Align type
      • setAlignType

        public void setAlignType​(AlignType atype)
        Set align type
        Parameters:
        atype - Align type
      • isView3D

        public boolean isView3D​()
        Get if view 3D
        Returns:
        Boolean
      • setView3D

        public void setView3D​(boolean v3d)
        Set if view 3D
        Parameters:
        v3d -
      • getThickness

        public int getThickness​()
        Get 3D thickness
        Returns:
        3D thickness
      • setThickness

        public void setThickness​(int thickness)
        Set 3D thickness
        Parameters:
        thickness - 3D thickness
      • getShapeIndex

        public int getShapeIndex​()
        Get shape index
        Returns:
        Shape index
      • setShapeIndex

        public void setShapeIndex​(int sIdx)
        Set shape index
        Parameters:
        sIdx - Shape index
      • isDrawLabel

        public boolean isDrawLabel​()
        Get if draw label
        Returns:
        Boolean
      • setDrawLabel

        public void setDrawLabel​(boolean value)
        Set if draw label
        Parameters:
        value - Boolean
      • getLabelFont

        public java.awt.Font getLabelFont​()
        Get label font
        Returns:
        Label font
      • setLabelFont

        public void setLabelFont​(java.awt.Font value)
        Set label font
        Parameters:
        value - Label font
      • getLabelColor

        public java.awt.Color getLabelColor​()
        Get label color
        Returns:
        Label color
      • setLabelColor

        public void setLabelColor​(java.awt.Color value)
        Set label color
        Parameters:
        value - Label color
      • getDecimalDigits

        public int getDecimalDigits​()
        Get decimal digits
        Returns:
        Decimal digits
      • setDecimalDigits

        public void setDecimalDigits​(int value)
        Set decimal digits
        Parameters:
        value - Decimal digits
      • getBarHeights

        public java.util.List<java.lang.Integer> getBarHeights​()
        Get bar heights
        Returns:
        Bar heights
      • getWidth

        public int getWidth​()
        Get chart width
        Returns:
        Chart width
      • getHeight

        public int getHeight​()
        Get chart height
        Returns:
        Chart height
      • getPieAngles

        public java.util.List<java.util.List<java.lang.Float>> getPieAngles​()
        Get pie angles
        Returns:
        Pie angle list
      • getPieRatios

        public java.util.List<java.lang.Float> getPieRatios​()
        Get pie ratios
        Returns:
        Pie ratio list
      • clone

        public java.lang.Object clone​()
        Clone
        Overrides:
        clone in class ColorBreak
        Returns:
        ChartBreak object
      • getSampleChartBreak

        public ChartBreak getSampleChartBreak​()
        Get sample chart break
        Returns:
        Sample chart break
      • getDrawExtent

        public Extent getDrawExtent​(PointF aPoint)
        Get draw extent
        Parameters:
        aPoint - start point
        Returns:
        draw extent