public class Axis
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Axis() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getAutoscale()
Get if this axis will draw its scale so that it shares grid lines with other autoscaled axes.
|
java.lang.Boolean |
getDrawMajorGridlines()
Get whether or not this axis draws grid lines for each tick.
|
java.lang.String |
getFormatString()
Get the coded String that determines the output format of axis Date values.
|
java.lang.String |
getLabel()
Get the String used to label this axis when rendered.
|
java.lang.Object |
getMax()
Get the maximum value of this axis.
|
java.lang.Object |
getMin()
Get the minimum value of this axis.
|
java.lang.Double |
getPad()
Get the multiplier that determines how far to extend the range above and below the data bounds.
|
java.lang.Double |
getPadMax()
Get the multiplier that determines how far to extend the range above the data bounds.
|
java.lang.Double |
getPadMin()
Get the multiplier that determines how far to extend the range below the data bounds.
|
java.lang.Boolean |
getShow()
Get the value of the axis rendering toggle.
|
java.lang.Integer |
getTickAngle()
Get the angle of the ticks in degrees.
|
java.lang.String |
getTickFontSize()
Get the font size for the ticks.
|
java.lang.String |
getTickInterval()
Get the number of units between ticks.
|
java.lang.String |
getTickPrefix()
Get the prefix to the beginning of each tick.
|
java.lang.String[] |
getTicks()
Get the list of String used as explicit ticks on this axis.
|
AxisType |
getType()
Get the type of this Axis
If null, defaults on the client to Linear.
|
java.lang.Boolean |
isForceTickAt0()
Get whether or not to force 0 to be shown on this axis.
|
java.lang.Boolean |
isForceTickAt100()
Get whether or not to force 100 to be shown on this axis.
|
java.lang.Boolean |
isSortMergedLabels()
Is this axis sorting the ticks it is given from series definitions into an ordered axis?
|
void |
setAutoscale(java.lang.Boolean autoscale)
Set if this axis will draw its scale so that it shares grid lines with other autoscaled axes.
|
void |
setDrawMajorGridlines(java.lang.Boolean drawMajorGridlines)
Set whether or not this axis draw grid lines for each tick.
|
void |
setForceTickAt0(java.lang.Boolean forceTickAt0)
Set whether or not to force 0 to be shown on this axis.
|
void |
setForceTickAt100(java.lang.Boolean forceTickAt100)
Set whether or not to force 100 to be shown on this axis.
|
void |
setFormatString(java.lang.String formatString)
Set the coded String that determines the output format of axis Date values.
|
void |
setLabel(java.lang.String label)
Set the String used to label this axis when rendered.
|
void |
setMax(java.lang.Object max)
Set the maximum value of this axis.
|
void |
setMin(java.lang.Object min)
Set the minimum value of this axis.
|
void |
setPad(java.lang.Double pad)
Set the multiplier that determines how far to extend the range above and below the data bounds.
|
void |
setPadMax(java.lang.Double padMax)
Set the multiplier that determines how far to extend the range above the data bounds.
|
void |
setPadMin(java.lang.Double padMin)
Set the multiplier that determines how far to extend the range below the data bounds.
|
void |
setShow(java.lang.Boolean show)
Set the value of the axis rendering toggle.
|
void |
setSortMergedLabels(java.lang.Boolean sortMergedLabels)
Set this axis to sort together the lists of values it interprets as its ticks.
|
void |
setTickAngle(java.lang.Integer tickAngle)
Set the angle of the ticks in degrees
|
void |
setTickFontSize(java.lang.String tickFontSize)
Set the font size for the ticks.
|
void |
setTickInterval(java.lang.String tickInterval)
Set the number of units between ticks.
|
void |
setTickPrefix(java.lang.String tickPrefix)
Set the prefix to the beginning of each tick.
|
void |
setTicks(java.lang.String[] ticks)
Set a list of String values to be used as explicit ticks on this axis.
|
void |
setType(AxisType type)
Sets the type of this Axis, altering default tick behaviour and point alignment.
|
java.lang.String |
toString()
Used by the ChartRenderer to produce a JSON representation of the configuration of this axis.
|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Boolean isForceTickAt0()
public void setForceTickAt0(java.lang.Boolean forceTickAt0)
forceTickAt0 - whether or not to force 0 on this axispublic java.lang.Boolean isForceTickAt100()
public void setForceTickAt100(java.lang.Boolean forceTickAt100)
forceTickAt100 - whether or not to force 100 on this axispublic java.lang.Boolean getShow()
public void setShow(java.lang.Boolean show)
show - whether or not to render this axispublic java.lang.Object getMin()
public void setMin(java.lang.Object min)
min - either a Date or Numberpublic java.lang.Object getMax()
public void setMax(java.lang.Object max)
max - either a Date or Numberpublic AxisType getType()
public void setType(AxisType type)
type - public java.lang.String[] getTicks()
public void setTicks(java.lang.String[] ticks)
ticks - public java.lang.Boolean isSortMergedLabels()
public void setSortMergedLabels(java.lang.Boolean sortMergedLabels)
sortMergedLabels - public java.lang.Double getPad()
public void setPad(java.lang.Double pad)
pad - the double value that is multiplied by the data range to determine paddingpublic java.lang.Double getPadMax()
public void setPadMax(java.lang.Double padMax)
padMax - the double value that is multiplied by the data range to determine paddingpublic java.lang.Double getPadMin()
public void setPadMin(java.lang.Double padMin)
padMin - the double value that is multiplied by the data range to determine paddingpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - the name of this axispublic java.lang.Integer getTickAngle()
public void setTickAngle(java.lang.Integer tickAngle)
tickAngle - degrees of rotation (+ or -) of the ticks from 0 degreespublic java.lang.String getTickFontSize()
public void setTickFontSize(java.lang.String tickFontSize)
tickFontSize - css-style font size definitionpublic java.lang.Boolean getAutoscale()
public void setAutoscale(java.lang.Boolean autoscale)
autoscale - whether or not this axis is autoscalingpublic java.lang.String getFormatString()
public void setFormatString(java.lang.String formatString)
formatString - coded stringpublic java.lang.String getTickInterval()
public void setTickInterval(java.lang.String tickInterval)
tickInterval - a numeral string or a representation of date units '1 (month / week / day)' or 'x (months / weeks / days)'public java.lang.String getTickPrefix()
public void setTickPrefix(java.lang.String tickPrefix)
tickPrefix - prefix textpublic java.lang.Boolean getDrawMajorGridlines()
public void setDrawMajorGridlines(java.lang.Boolean drawMajorGridlines)
drawMajorGridlines - major gridline visibleCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.