Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib.axis
Class Axis<T extends Serializable>
java.lang.Object
org.wicketstuff.jqplot.lib.axis.Axis<T>
- Type Parameters:
T- type of Axis, can be String, Number, Date, etc. This is necessary because min,max and tickInterval can be variants types.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AxisNumber,AxisString,X2Axis,XAxis,Y2Axis,YAxis
An individual axis object. Cannot be instantiated directly, but created by
the Plot oject. Axis properties can be set or overriden by the options passed
in from the user.
See http://www.jqplot.com/docs/files/jqplot-core-js.html#Axis
- Author:
- inaiat
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the auto scale.getLabel()Gets the label.Gets the label renderer.getMax()Gets the max.getMin()Gets the min.getPad()Gets the pad.Gets the pad max.Gets the pad min.Gets the renderer.Gets the renderer options.getShow()Gets the show.Gets the tick interval.Gets the tick options.Gets the tick renderer.String[]getTicks()Gets the ticks.rendererOptions(RendererOptions rendererOptions) Renderer options.setAutoScale(Boolean autoScale) Sets the auto scale.Sets the label.setLabelRenderer(JqPlotResources labelRenderer) Sets the label renderer.setMax(Serializable max) Sets the max.setMin(Serializable min) Sets the min.Sets the pad.voidSets the pad max.voidSets the pad min.setRenderer(JqPlotResources renderer) Sets the renderer.setRendererOptions(RendererOptions rendererOptions) Sets the renderer options.voidSets the show.voidsetTickInterval(Serializable tickInterval) Sets the tick interval.setTickOptions(TickOptions tickOptions) Sets the tick options.setTickRenderer(JqPlotResources tickRenderer) Sets the tick renderer.Sets the ticks.
-
Constructor Details
-
Axis
public Axis()
-
-
Method Details
-
getTickInterval
Gets the tick interval.- Returns:
- the tick interval
-
setTickInterval
Sets the tick interval.- Parameters:
tickInterval- the new tick interval
-
getPadMin
Gets the pad min.- Returns:
- the pad min
-
setPadMin
Sets the pad min.- Parameters:
padMin- the new pad min
-
getPadMax
Gets the pad max.- Returns:
- the pad max
-
setPadMax
Sets the pad max.- Parameters:
padMax- the new pad max
-
getShow
Gets the show.- Returns:
- the show
-
setShow
Sets the show.- Parameters:
show- the show to set
-
getAutoScale
Gets the auto scale.- Returns:
- the autoScale
-
setAutoScale
Sets the auto scale.- Parameters:
autoScale- the autoScale to set- Returns:
- Axis
-
getTickOptions
Gets the tick options.- Returns:
- the tickOptions
-
setTickOptions
Sets the tick options.- Parameters:
tickOptions- the tickOptions to set- Returns:
- Axis
-
getLabelRenderer
Gets the label renderer.- Returns:
- the labelRenderer
-
setLabelRenderer
Sets the label renderer.- Parameters:
labelRenderer- the labelRenderer to set- Returns:
- Axis
-
getTickRenderer
Gets the tick renderer.- Returns:
- the tickRenderer
-
setTickRenderer
Sets the tick renderer.- Parameters:
tickRenderer- the tickRenderer to set- Returns:
- Axis
-
rendererOptions
Renderer options.- Parameters:
rendererOptions- the renderer options- Returns:
- the serie
-
getRendererOptions
Gets the renderer options.- Returns:
- the renderer options
-
setRendererOptions
Sets the renderer options.- Parameters:
rendererOptions- the new renderer options- Returns:
- Axis
-
getLabel
Gets the label.- Returns:
- the label
-
setLabel
Sets the label.- Parameters:
label- the label to set- Returns:
- Axis
-
getPad
Gets the pad.- Returns:
- the pad
-
setPad
Sets the pad.- Parameters:
pad- the pad to set- Returns:
- Axis
-
getRenderer
Gets the renderer.- Returns:
- the renderer
-
setRenderer
Sets the renderer.- Parameters:
renderer- the renderer to set- Returns:
- Axis
-
getTicks
Gets the ticks.- Returns:
- the ticks
-
setTicks
Sets the ticks.- Parameters:
ticks- the ticks to set- Returns:
- Axis
-
getMin
Gets the min.- Returns:
- the min
-
setMin
Sets the min.- Parameters:
min- the new min- Returns:
- Axis
-
getMax
Gets the max.- Returns:
- the max
-
setMax
Sets the max.- Parameters:
max- the new max- Returns:
- Axis
-
tickOptionsInstance
-
rendererOptionsInstance
-