|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.drawing.ChartPen
com.steema.teechart.axis.GridPen
public class GridPen
Title: GridPen class
Description: Determines the kind of pen used to draw the Grid lines at every Axis Label position.
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
protected boolean |
centered
When centered is true, grid is displayed in between axis labels. |
Fields inherited from class com.steema.teechart.drawing.ChartPen |
---|
color, dashCap, dashStyle, defaultColor, defaultEndCap, defaultStyle, defaultVisible, endCap, usesVisible, visible, width |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart, InternalUse |
Constructor Summary | |
---|---|
GridPen(IBaseChart chart)
Creates a new Grid pen. |
Method Summary | |
---|---|
boolean |
getCentered()
Aligns the Grid to the centre. |
int |
getDrawEvery()
Returns the Grid drawing intervals. |
DashStyle |
getStyle()
Determines the style of the axis grid lines. |
double |
getZPosition()
Returns the Z position of the Grid lines, in percent of total chart depth. |
void |
setCentered(boolean value)
Sets grid lines to display between axis labels or at label positions. |
void |
setDrawEvery(int value)
Sets the Grid to draw every corresponding value. |
void |
setZPosition(double value)
Sets the Z position of Grid lines in percentage of total chart depth. |
Methods inherited from class com.steema.teechart.drawing.ChartPen |
---|
assign, assign, getColor, getDashCap, getEndCap, getTransparency, getVisible, getWidth, internalAssign, invalidate, reset, setColor, setDashCap, setDefaultColor, setDefaultStyle, setDefaultVisible, setEndCap, setStyle, setTransparency, setUsesVisible, setVisible, setWidth, shouldSerializeColor, shouldSerializeEndCap, shouldSerializeStyle, shouldSerializeVisible |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean centered
Constructor Detail |
---|
public GridPen(IBaseChart chart)
chart
- IBaseChartMethod Detail |
---|
public DashStyle getStyle()
getStyle
in class ChartPen
public boolean getCentered()
public void setCentered(boolean value)
value
- booleanpublic double getZPosition()
public void setZPosition(double value)
value
- doublepublic void setDrawEvery(int value)
value
- intpublic int getDrawEvery()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |