|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.AxisSectionBase
public abstract class AxisSectionBase
Provides access to the AxisSectionBase, which is the base class for both the Axis and AxisSection.
This Base
Class
is not intended to be used directly by the programmer; however, derived classes can be used for axis customization. For example, the Axis
Class
is derived from the AxisSectionBase and its members are accessible through the use of the Chart.getAxisX()
and Chart.getAxisY()
properties. Furthermore, AxisSectionBase is the based
Class
which AxisSection
is derived from.
The members of AxisSectionBase
Class
are used to customize the Grids
, setTextColor(java.awt.Color)
, and Link
of the related Axis and AxisSection.
Constructor Summary | |
---|---|
AxisSectionBase()
|
Method Summary | |
---|---|
Grids |
getGrids()
Allows customization of grid lines by providing access to the supported members of the Grids Class . |
Link |
getLink()
Gets the Link object for a selected BaseAxisSection item. |
Color |
getTextColor()
Gets the TextColor. |
void |
setTextColor(Color value)
Sets the color for text of a selected BaseAxisSection object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxisSectionBase()
Method Detail |
---|
public Grids getGrids()
Allows customization of grid lines by providing access to the supported members of the Grids Class .
This property provides customization of the chart Plot Area, by using the Grids.setInterlaced(boolean)
and Grids.setInterlacedColor(java.awt.Color)
properties of the Grids
Class
.
Lines across the Axes can be added at the major and minor steps by setting Grids.getMajor()
and Grids.getMinor()
Gridlines.
Lines across the Axes can be added at specific points by adding a CustomGridLine
.
Below, the Minor gridline of the Axis Y is set to visible:
Grids.getMajor()
,
Grids.getMinor()
,
Grids.setInterlaced(boolean)
,
Grids.setInterlacedColor(java.awt.Color)
,
Grids
,
GridLine
,
CustomGridLine
public Link getLink()
Gets the Link object for a selected BaseAxisSection item.
Developers may obtain the Link
object for an axis section item using this property. Using the supported Link
Class
members, developers may configure the Link.setUrl(java.lang.String)
and Link.setTarget(java.lang.String)
for the object.
Link.setUrl(java.lang.String)
,
PointAttributes.getLink()
,
Link
,
PointAttributes
public Color getTextColor()
Gets the TextColor. For more detail see setTextColor(java.awt.Color)
.
public void setTextColor(Color value)
Sets the color for text of a selected BaseAxisSection object.
The setTextColor(java.awt.Color)
property is used to set a color for the specified AxisSection labels. Please refer to the TextColor property of the Title object to customize the color for the axis title.
For more information regarding the Color type, please refer to the Java API .
Below, the Y axis section textcolor is set to red:
setTextColor(java.awt.Color)
,
Axis.getSections()
,
Axis
,
AxisY
,
AxisX
,
AxisSection
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |