Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Class GridLine

java.lang.Object
  extended by com.softwarefx.chartfx.server.Line
      extended by com.softwarefx.chartfx.server.GridLine

public class GridLine
extends Line

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

GridLine

public GridLine()
Method Detail

getTickMark

public TickMark getTickMark()

Gets the TickMark. For more detail see setTickMark(com.softwarefx.chartfx.server.TickMark).


isVisible

public boolean isVisible()

Gets the Visible. For more detail see setVisible(boolean).


setTickMark

public void setTickMark(TickMark value)

Sets the style for the tick marks of an GridLine object.

Remarks:
  • 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.

  • See Also:
    AxisSectionBase.getGrids(), Axis.setStep(double), Axis.setMinorStep(double), Axis, AxisSection, Grids

    setVisible

    public void setVisible(boolean value)

    Sets a value indicating whether the grid line for the selected Gridline will be visible.

    Remarks:
  • 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.

  • See Also:
    AxisSectionBase.getGrids(), Grids.getMajor(), Grids.getMinor(), Axis, AxisSection, Grids

    http://www.softwarefx.com

    2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.