|
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.Line
com.softwarefx.chartfx.server.GridLine
public class GridLine
Provides access to the GridLine object.
GridLines are used to place lines across the Axes, at the major and minor intervals.
Mayor GridLines will show the lines at the step. Minor Gridlines will show line at the MinorStep.
Constructor Summary | |
---|---|
GridLine()
|
Method Summary | |
---|---|
TickMark |
getTickMark()
Gets the TickMark. |
boolean |
isVisible()
Gets the Visible. |
void |
setTickMark(TickMark value)
Sets the style for the tick marks of an GridLine object. |
void |
setVisible(boolean value)
Sets a value indicating whether the grid line for the selected Gridline will be visible. |
Methods inherited from class com.softwarefx.chartfx.server.Line |
---|
getColor, getEndCap, getStartCap, getStyle, getWidth, setColor, setEndCap, setStartCap, setStyle, setWidth |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridLine()
Method Detail |
---|
public TickMark getTickMark()
Gets the TickMark. For more detail see setTickMark(com.softwarefx.chartfx.server.TickMark)
.
public boolean isVisible()
Gets the Visible. For more detail see setVisible(boolean)
.
public void setTickMark(TickMark value)
Sets the style for the tick marks of an GridLine object.
The tick mark is not the gridline that crosses the entire chart, it is just a reference line that appears on every tick of the minor unit of the axis. If you want to display a gridline that crosses the chart, please refer to the Grids
property.
The major unit is controlled by the Axis.setStep(double)
property, the minor unit is controlled by the Axis.setMinorStep(double)
property.
AxisSectionBase.getGrids()
,
Axis.setStep(double)
,
Axis.setMinorStep(double)
,
Axis
,
AxisSection
,
Grids
public void setVisible(boolean value)
Sets a value indicating whether the grid line for the selected Gridline will be visible.
By default, this property is set to true. You will need to configure the grid line's Visible property to True in order to see the object in the chart.
AxisSectionBase.getGrids()
,
Grids.getMajor()
,
Grids.getMinor()
,
Axis
,
AxisSection
,
Grids
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |