|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.infragistics.faces.shared.component.ModelComponent
com.infragistics.faces.chart.component.Scale
com.infragistics.faces.chart.component.Axis
Axes define the scale for a series as well as attributes for the visible axis and associate grid lines. A chart, seriesgroup or series can embed one or more axis tags, which will define an axis to be used for that object and (in the case of charts and series groups) all nested series.
Most series require two axes (pie and donut charts do not require axes), three dimensional charts also require a Z axis to give depth to the chart. The chart component will create any or all of these if they are required but missing from the chart.
Axis components defines four collections of marks which are used as tickmarks, axis strips, gridlines and gridstrips whenever the axis is used.
Axis components can be configured to automatically generate tickmarks and grid lines and to automatically choose and/or snap appropriate minimum and maximum values.
| Constructor Summary | |
Axis()
|
|
| Method Summary | |
Axis |
getCrossingXAxis()
Returns the x-crossing reference axis. |
float |
getCrossingXValue()
Returns the x-crossing reference value. |
Axis |
getCrossingYAxis()
Returns the y-crossing reference axis. |
float |
getCrossingYValue()
Returns the y-crossing reference value. |
Axis |
getCrossingZAxis()
Returns the z-crossing reference axis. |
float |
getCrossingZValue()
Returns the z-crossing reference value. |
java.util.List |
getGridLines()
Returns the collection of marks defining the grid lines for this axis. |
java.lang.String |
getGridLineStyleClass()
Returns the default CSS style applied when gridlines are rendered. |
java.util.List |
getGridStrips()
Returns the collection of marks defining the grid strips for this axis. |
java.lang.String |
getGridStripStyleClass()
Returns the default CSS style applied when gridstrips are rendered. |
java.lang.String |
getStyleClass()
Returns the CSS style applied when this axis is rendered. |
java.lang.String |
getTickCaption()
Returns the default formatting mask used to generate mark and value labels. |
java.util.List |
getTickMarks()
Returns the collection of marks defining the tick marks for this axis. |
java.lang.String |
getTickMarkStyleClass()
Returns the default CSS style applied when tick marks are rendered. |
java.lang.String |
getType()
Returns the type (X, Y or Z) of this axis. |
boolean |
hasCrossingXValue()
Returns true if the axis has a defined x crossing value |
boolean |
hasCrossingYValue()
Returns true if the axis has a defined y crossing value |
boolean |
hasCrossingZValue()
Returns true if the axis has a defined z crossing value |
boolean |
isAutoGridLines()
Returns the automatic gridline generation flag. |
boolean |
isAutoRange()
Returns the automatic minimum and maximum value calculation flag. |
boolean |
isAutoRangeSnap()
Returns the automatic minimum and maximum value snap flag. |
boolean |
isAutoTickMarks()
Returns the automatic tick mark generation flag. |
void |
setAutoGridLines(boolean autoGridLines)
Sets the automatic gridline generation flag. |
void |
setAutoRange(boolean autoRange)
Sets the automatic minimum and maximum value calculation flag. |
void |
setAutoRangeSnap(boolean autoRangeSnap)
Sets the automatic minimum and maximum value snap flag. |
void |
setAutoTickMarks(boolean autoTickMarks)
Sets the automatic tick mark generation flag. |
void |
setCrossingXAxis(Axis crossingXAxis)
Sets the x-crossing reference axis. |
void |
setCrossingXValue(float crossingXValue)
Sets the x-crossing reference value. |
void |
setCrossingYAxis(Axis crossingYAxis)
Sets the y-crossing reference axis. |
void |
setCrossingYValue(float crossingYValue)
Sets the y-crossing reference value. |
void |
setCrossingZAxis(Axis crossingZAxis)
Sets the z-crossing reference axis. |
void |
setCrossingZValue(float crossingZValue)
Sets the z-crossing reference value. |
void |
setGridLines(java.util.List gridLines)
Sets the collection of marks defining the grid lines for this axis. |
void |
setGridLineStyleClass(java.lang.String gridLineStyleClass)
Sets the default CSS style applied when gridlines are rendered. |
void |
setGridStrips(java.util.List gridStrips)
Sets the collection of marks defining the grid strips for this axis. |
void |
setGridStripStyleClass(java.lang.String gridStripStyleClass)
Sets the default CSS style applied when gridstrips are rendered. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS style applied when this axis is rendered. |
void |
setTickCaption(java.lang.String tickCaption)
Sets the default formatting mask used to generate mark and value labels. |
void |
setTickMarks(java.util.List tickMarks)
Sets the collection of marks defining the tick marks for this axis. |
void |
setTickMarkStyleClass(java.lang.String tickMarkStyleClass)
Sets the default CSS style applied when tick marks are rendered. |
void |
setType(java.lang.String type)
Sets the type (X, Y or Z) of this axis. |
| Methods inherited from class com.infragistics.faces.chart.component.Scale |
getBase, getMaximumValue, getMinimumValue, getScaledValue, isLogarithmic, setBase, setLogarithmic, setMaximumValue, setMinimumValue |
| Methods inherited from class com.infragistics.faces.shared.component.ModelComponent |
getParent, getValueBinding, setParent, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Axis()
| Method Detail |
public boolean isAutoGridLines()
public void setAutoGridLines(boolean autoGridLines)
autoGridLines - booleanpublic boolean isAutoRange()
public void setAutoRange(boolean autoRange)
autoRange - booleanpublic boolean isAutoRangeSnap()
public void setAutoRangeSnap(boolean autoRangeSnap)
autoRangeSnap - booleanpublic boolean isAutoTickMarks()
public void setAutoTickMarks(boolean autoTickMarks)
autoTickMarks - booleanpublic Axis getCrossingXAxis()
public void setCrossingXAxis(Axis crossingXAxis)
crossingXAxis - Axispublic float getCrossingXValue()
public boolean hasCrossingXValue()
public void setCrossingXValue(float crossingXValue)
crossingXValue - floatpublic Axis getCrossingYAxis()
public void setCrossingYAxis(Axis crossingYAxis)
crossingYAxis - Axispublic boolean hasCrossingYValue()
public float getCrossingYValue()
public void setCrossingYValue(float crossingYValue)
crossingYValue - floatpublic Axis getCrossingZAxis()
public void setCrossingZAxis(Axis crossingZAxis)
crossingZAxis - Axispublic boolean hasCrossingZValue()
public float getCrossingZValue()
public void setCrossingZValue(float crossingZValue)
crossingZValue - floatpublic java.util.List getGridLines()
public void setGridLines(java.util.List gridLines)
gridLines - java.util.Listpublic java.lang.String getGridLineStyleClass()
public void setGridLineStyleClass(java.lang.String gridLineStyleClass)
gridLineStyleClass - Stringpublic java.util.List getGridStrips()
public void setGridStrips(java.util.List gridStrips)
gridStrips - java.util.Listpublic java.lang.String getGridStripStyleClass()
public void setGridStripStyleClass(java.lang.String gridStripStyleClass)
gridStripStyleClass - Stringpublic java.lang.String getStyleClass()
public void setStyleClass(java.lang.String styleClass)
styleClass - Stringpublic java.lang.String getTickCaption()
public void setTickCaption(java.lang.String tickCaption)
tickCaption - Stringpublic java.util.List getTickMarks()
public void setTickMarks(java.util.List tickMarks)
tickMarks - java.util.Listpublic java.lang.String getTickMarkStyleClass()
public void setTickMarkStyleClass(java.lang.String tickMarkStyleClass)
tickMarkStyleClass - Stringpublic java.lang.String getType()
public void setType(java.lang.String type)
type - String (x, y, z)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||