public class GridPen extends ChartPen
Title: GridPen class
Description: Determines the kind of pen used to draw the Grid lines at every Axis Label position.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Field and Description |
---|---|
protected boolean |
centered
When centered is true, grid is displayed in between axis labels.
|
color, dashCap, dashStyle, defaultColor, defaultEndCap, defaultStyle, defaultVisible, endCap, usesVisible, visible, width
chart, InternalUse
Constructor and Description |
---|
GridPen(IBaseChart chart)
Creates a new Grid pen.
|
Modifier and Type | Method and Description |
---|---|
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.
It sets both vertical and horizontal lines independently. |
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.
|
assign, assign, getColor, getDashCap, getEndCap, getPaint, getTransparency, getVisible, getWidth, internalAssign, invalidate, reset, setColor, setDashCap, setDefaultColor, setDefaultStyle, setDefaultVisible, setEndCap, setStyle, setTransparency, setUsesVisible, setVisible, setWidth, shouldSerializeColor, shouldSerializeEndCap, shouldSerializeStyle, shouldSerializeVisible
getChart, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
protected boolean centered
public GridPen(IBaseChart chart)
chart
- IBaseChartpublic DashStyle getStyle()
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()