Interface IsDefaultGrid
- 
- All Superinterfaces:
- IsDefaultScaleLines
 - All Known Implementing Classes:
- DefaultChartGrid,- DefaultGrid,- Grid
 
 public interface IsDefaultGrid extends IsDefaultScaleLines Interface to define grid defaults.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBorderColorAsString()If set, used as the color of the border line.
 If unset, the first color option is resolved and used.intgetBorderWidth()If set, used as the width of the border line.
 If unset, the first lineWidth option is resolved and used.doublegetTickBorderDashOffset()Returns the offset for the line dash of the tick mark.StringgetTickColorAsString()Returns the color of the tick line.intgetTickLength()Returns the length in pixels that the grid will draw in the axis area.intgetTickWidth()Returns the width of the tick mark in pixels.
 The first element if set as array.intgetZ()Returns z-index of grid layer.
 Values less than or equals to 0 are drawn under data sets, greater than 0 on top.booleanisCircular()Iftrue, grid are circular (on radar chart only).booleanisDisplay()Iffalse, do not display grid for this axis.booleanisDrawBorder()Iftrue, draw border at the edge between the axis and the chart area.booleanisDrawOnChartArea()Iftrue, 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.booleanisDrawTicks()Iftrue, draw lines beside the ticks in the axis area beside the chart.booleanisOffset()Iftrue, grid will be shifted to be between labels.- 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultScaleLinesgetBorderDash, getBorderDashOffset, getColorAsString, getLineWidth
 
- 
 
- 
- 
- 
Method Detail- 
isDisplayboolean isDisplay() Iffalse, do not display grid for this axis.- Returns:
- if false, do not display grid for this axis.
 
 - 
getBorderWidthint getBorderWidth() If set, used as the width of the border line.
 If unset, the first lineWidth option is resolved and used.- Returns:
- if set, used as the width of the border line.
 If unset, the first lineWidth option is resolved and used.
 
 - 
getBorderColorAsStringString getBorderColorAsString() If set, used as the color of the border line.
 If unset, the first color option is resolved and used.- Returns:
- if set, used as the color of the border line.
 If unset, the first color option is resolved and used.
 
 - 
isDrawBorderboolean isDrawBorder() Iftrue, draw border at the edge between the axis and the chart area.- Returns:
- if true, draw border at the edge between the axis and the chart area.
 
 - 
isDrawOnChartAreaboolean isDrawOnChartArea() Iftrue, 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.- Returns:
- 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.
 
 - 
isDrawTicksboolean isDrawTicks() Iftrue, draw lines beside the ticks in the axis area beside the chart.- Returns:
- if true, draw lines beside the ticks in the axis area beside the chart.
 
 - 
getTickLengthint getTickLength() Returns the length in pixels that the grid will draw in the axis area.- Returns:
- Length in pixels that the grid will draw in the axis area.
 
 - 
isOffsetboolean isOffset() Iftrue, grid will be shifted to be between labels. This is set totruein the bar chart by default.- Returns:
- If true, grid will be shifted to be between labels.
 
 - 
isCircularboolean isCircular() Iftrue, grid are circular (on radar chart only).- Returns:
- If true, grid are circular (on radar chart only).
 
 - 
getZint getZ() Returns z-index of grid layer.
 Values less than or equals to 0 are drawn under data sets, greater than 0 on top.- Returns:
- z-index of grid layer.
 Values less than or equals to 0 are drawn under data sets, greater than 0 on top.
 
 - 
getTickBorderDashOffsetdouble getTickBorderDashOffset() Returns the offset for the line dash of the tick mark.- Returns:
- the offset for the line dash of the tick mark
 
 - 
getTickColorAsStringString getTickColorAsString() Returns the color of the tick line.- Returns:
- the color of the tick line.
 
 - 
getTickWidthint getTickWidth() Returns the width of the tick mark in pixels.
 The first element if set as array.- Returns:
- stroke width of grid.
 The first element if set as array.
 
 
- 
 
-