Class ChartSet



  • public class ChartSet
    extends java.lang.Object
    Template
    • Constructor Detail

      • ChartSet

        public ChartSet​()
        Constructor
    • Method Detail

      • getChartType

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

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

        public void setChartType​(java.lang.String tstr)
        Set chart type
        Parameters:
        tstr - Chart type string
      • isDrawCharts

        public boolean isDrawCharts​()
        Set if draw charts
        Returns:
        If draw charts
      • setDrawCharts

        public void setDrawCharts​(boolean istrue)
        Set if draw charts
        Parameters:
        istrue - If draw charts
      • getFieldNames

        public java.util.List<java.lang.String> getFieldNames​()
        Get field names
        Returns:
        The file names
      • setFieldNames

        public void setFieldNames​(java.util.List<java.lang.String> names)
        Set field names
        Parameters:
        names - Field names
      • getXShift

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

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

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

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

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

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

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

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

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

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

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

        public void setMaxValue​(float value)
      • getMinValue

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

        public void setMinValue​(float value)
        Set minimum value
        Parameters:
        value - 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
      • isAvoidCollision

        public boolean isAvoidCollision​()
        Get if avoid collision
        Returns:
        If avoid collisioin
      • setAvoidCollision

        public void setAvoidCollision​(boolean istrue)
        Set if avoid collision
        Parameters:
        istrue - If avoid collision
      • getAlignType

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

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

        public void setAlignType​(java.lang.String tstr)
        Set align type
        Parameters:
        tstr - Align type string
      • isView3D

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

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

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

        public void setThickness​(int value)
        Set 3D thickness
        Parameters:
        value - 3D thickness
      • 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
      • update

        public void update​()
        Update - avoid the disagree of field names and legend scheme