|
ICEfaces 3.1.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icefaces.ace.component.chart.Axis
public class Axis
Copyright 2010-2011 ICEsoft Technologies Canada Corp.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. User: Nils Date: 12-05-07 Time: 10:44 AM
| Constructor Summary | |
|---|---|
Axis()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Axis()
| Method Detail |
|---|
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 visible
|
ICEfaces 3.1.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||