Class Graphic.Axis

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Graphic

    public class Graphic.Axis
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Axis

        public Axis​(java.lang.String key,
                    char typeXY,
                    char method,
                    char chartType,
                    java.lang.String label,
                    java.lang.String field)
    • Method Detail

      • getAxisType

        public char getAxisType()
        Type = X or Y
      • getChartType

        public char getChartType()
        Chart type Graphic.CHART_*
      • setChartType

        public void setChartType​(char chart)
      • getMethod

        public char getMethod()
        Group by method
      • setMethod

        public void setMethod​(char m)
      • getYmin

        public double getYmin()
        Y min value
      • setYmin

        public void setYmin​(double min)
      • getYmax

        public double getYmax()
        Y max value
      • setYmax

        public void setYmax​(double max)
      • getField

        public ObjectField getField()
        Object field
      • getLabel

        public java.lang.String getLabel()
        Label to display
      • getKey

        public java.lang.String getKey()
        Axis key
      • getSeries

        public java.util.List<Graphic.Serie> getSeries()
        Series
      • addSerie

        public Graphic.Serie addSerie​(java.lang.String key,
                                      java.lang.String label,
                                      java.awt.Color c,
                                      boolean unique)
      • sum

        public double sum​(int index)
      • roundMinMax

        public void roundMinMax()