public interface IsDefaultGrid extends IsDefaultScaleLines
Modifier and Type | Method and Description |
---|---|
String |
getBorderColorAsString()
If set, used as the color of the border line.
If unset, the first color option is resolved and used. |
int |
getBorderWidth()
If set, used as the width of the border line.
If unset, the first lineWidth option is resolved and used. |
double |
getTickBorderDashOffset()
Returns the offset for the line dash of the tick mark.
|
String |
getTickColorAsString()
Returns the color of the tick line.
|
int |
getTickLength()
Returns the length in pixels that the grid will draw in the the axis area.
|
int |
getTickWidth()
Returns the width of the tick mark in pixels.
The first element if set as array. |
int |
getZ()
Returns z-index of grid layer.
Values less than or equals to 0 are drawn under data sets, greater than 0 on top. |
boolean |
isCircular()
If
true , grid are circular (on radar chart only). |
boolean |
isDisplay()
If
false , do not display grid for this axis. |
boolean |
isDrawBorder()
If
true , draw border at the edge between the axis and the chart area. |
boolean |
isDrawOnChartArea()
If
true , draw lines on the chart area inside the axis lines.This is useful when there are multiple axes and you need to control which grid are drawn. |
boolean |
isDrawTicks()
If
true , draw lines beside the ticks in the axis area beside the chart. |
boolean |
isOffset()
If
true , grid will be shifted to be between labels. |
getBorderDash, getBorderDashOffset, getColorAsString, getLineWidth
boolean isDisplay()
false
, do not display grid for this axis.false
, do not display grid for this axis.int getBorderWidth()
String getBorderColorAsString()
boolean isDrawBorder()
true
, draw border at the edge between the axis and the chart area.true
, draw border at the edge between the axis and the chart area.boolean isDrawOnChartArea()
true
, draw lines on the chart area inside the axis lines.true
, draw lines on the chart area inside the axis lines.boolean isDrawTicks()
true
, draw lines beside the ticks in the axis area beside the chart.true
, draw lines beside the ticks in the axis area beside the chart.int getTickLength()
boolean isOffset()
true
, grid will be shifted to be between labels. This is set to true
in the bar chart by default.true
, grid will be shifted to be between labels.boolean isCircular()
true
, grid are circular (on radar chart only).true
, grid are circular (on radar chart only).int getZ()
double getTickBorderDashOffset()
String getTickColorAsString()
int getTickWidth()