类 ChartBreak


  • public class ChartBreak
    extends ColorBreak
    Chart break class
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • ChartBreak

        public ChartBreak​(ChartTypes chartType)
        Constructor
        参数:
        chartType - Chart type
    • 方法详细资料

      • getChartType

        public ChartTypes getChartType()
        Get chart type
        返回:
        Chart type
      • setChartType

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

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

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

        public int getItemNum()
        Get chart item number
        返回:
        Chart item number
      • getDataSum

        public float getDataSum()
        Get chart data sum
        返回:
        Chart data sum
      • getXShift

        public int getXShift()
        Get x shift
        返回:
        X shift
      • setXShift

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

        public int getYShift()
        Get y shift
        返回:
        Y shift
      • setYShift

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

        public LegendScheme getLegendScheme()
        Get legend scheme
        返回:
        Legend Scheme
      • setLegendScheme

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

        public int getMaxSize()
        Get maximum size
        返回:
        Maximum size
      • setMaxSize

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

        public int getMinSize()
        Get minimum size
        返回:
        Minimum size
      • setMinSize

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

        public float getMaxValue()
        Get maximum value
        返回:
        Maximum value
      • setMaxValue

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

        public float getMinValue()
        Get minimum value
        返回:
        Minimum value
      • setMinValue

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

        public int getBarWidth()
        Get bar width
        返回:
        Bar width
      • setBarWidth

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

        public AlignType getAlignType()
        Get align type
        返回:
        Align type
      • setAlignType

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

        public boolean isView3D()
        Get if view 3D
        返回:
        Boolean
      • setView3D

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

        public int getThickness()
        Get 3D thickness
        返回:
        3D thickness
      • setThickness

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

        public int getShapeIndex()
        Get shape index
        返回:
        Shape index
      • setShapeIndex

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

        public boolean isDrawLabel()
        Get if draw label
        返回:
        Boolean
      • setDrawLabel

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

        public java.awt.Font getLabelFont()
        Get label font
        返回:
        Label font
      • setLabelFont

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

        public java.awt.Color getLabelColor()
        Get label color
        返回:
        Label color
      • setLabelColor

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

        public int getDecimalDigits()
        Get decimal digits
        返回:
        Decimal digits
      • setDecimalDigits

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

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

        public int getWidth()
        Get chart width
        返回:
        Chart width
      • getHeight

        public int getHeight()
        Get chart height
        返回:
        Chart height
      • getPieAngles

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

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

        public java.lang.Object clone()
        Clone
        覆盖:
        clone 在类中 ColorBreak
        返回:
        ChartBreak object
      • getSampleChartBreak

        public ChartBreak getSampleChartBreak()
        Get sample chart break
        返回:
        Sample chart break
      • getDrawExtent

        public Extent getDrawExtent​(PointF aPoint)
        Get draw extent
        参数:
        aPoint - start point
        返回:
        draw extent