Package org.wicketstuff.googlecharts
Class ChartAxis
- java.lang.Object
-
- org.wicketstuff.googlecharts.ChartAxis
-
- All Implemented Interfaces:
Serializable
,IChartAxis
public class ChartAxis extends Object implements IChartAxis
- Author:
- Daniel Spiewak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChartAxis(ChartAxisType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AxisAlignment
getAlignment()
Color
getColor()
int
getFontSize()
String[]
getLabels()
double[]
getPositions()
Range
getRange()
ChartAxisType
getType()
void
setAlignment(AxisAlignment alignment)
void
setColor(Color color)
void
setFontSize(int fontSize)
void
setLabels(String[] labels)
void
setPositions(double[] positions)
void
setRange(Range range)
void
setType(ChartAxisType type)
-
-
-
Constructor Detail
-
ChartAxis
public ChartAxis(ChartAxisType type)
-
-
Method Detail
-
getAlignment
public AxisAlignment getAlignment()
- Specified by:
getAlignment
in interfaceIChartAxis
-
getColor
public Color getColor()
- Specified by:
getColor
in interfaceIChartAxis
-
getFontSize
public int getFontSize()
- Specified by:
getFontSize
in interfaceIChartAxis
-
getLabels
public String[] getLabels()
- Specified by:
getLabels
in interfaceIChartAxis
-
getPositions
public double[] getPositions()
- Specified by:
getPositions
in interfaceIChartAxis
-
getRange
public Range getRange()
- Specified by:
getRange
in interfaceIChartAxis
-
getType
public ChartAxisType getType()
- Specified by:
getType
in interfaceIChartAxis
-
setAlignment
public void setAlignment(AxisAlignment alignment)
-
setColor
public void setColor(Color color)
-
setFontSize
public void setFontSize(int fontSize)
-
setLabels
public void setLabels(String[] labels)
-
setPositions
public void setPositions(double[] positions)
-
setRange
public void setRange(Range range)
-
setType
public void setType(ChartAxisType type)
-
-