Package com.simplicite.util
Class Graphic.Axis
- java.lang.Object
-
- com.simplicite.util.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 Summary
Constructors Constructor Description Axis(java.lang.String key, char typeXY, char method, char chartType, java.lang.String label, java.lang.String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graphic.Serie
addSerie(java.lang.String key, java.lang.String label, java.awt.Color c, boolean unique)
char
getAxisType()
Type = X or Ychar
getChartType()
Chart type Graphic.CHART_*ObjectField
getField()
Object fieldjava.lang.String
getKey()
Axis keyjava.lang.String
getLabel()
Label to displaychar
getMethod()
Group by methodjava.util.List<Graphic.Serie>
getSeries()
Seriesdouble
getYmax()
Y max valuedouble
getYmin()
Y min valuevoid
roundMinMax()
void
setChartType(char chart)
void
setMethod(char m)
void
setYmax(double max)
void
setYmin(double min)
double
sum(int index)
-
-
-
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()
-
-