Class DefaultChartAngleLines
- java.lang.Object
-
- org.pepstock.charba.client.defaults.chart.DefaultChartAngleLines
-
- All Implemented Interfaces:
IsDefaultAngleLines
,IsDefaultScaleLines
public final class DefaultChartAngleLines extends Object implements IsDefaultAngleLines
Defaults for angle lines option element, based on chart type.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.double
getBorderDashOffset()
Returns the line dash pattern offset.String
getColorAsString()
Returns the color of lines.int
getLineWidth()
Returns the width of lines.boolean
isDisplay()
If true, angle lines are shown
-
-
-
Method Detail
-
isDisplay
public boolean isDisplay()
Description copied from interface:IsDefaultAngleLines
If true, angle lines are shown- Specified by:
isDisplay
in interfaceIsDefaultAngleLines
- Returns:
- if true, angle lines are shown.
-
getColorAsString
public String getColorAsString()
Description copied from interface:IsDefaultScaleLines
Returns the color of lines.- Specified by:
getColorAsString
in interfaceIsDefaultScaleLines
- Returns:
- color of lines.
-
getLineWidth
public int getLineWidth()
Description copied from interface:IsDefaultScaleLines
Returns the width of lines.- Specified by:
getLineWidth
in interfaceIsDefaultScaleLines
- Returns:
- width of lines.
-
getBorderDashOffset
public double getBorderDashOffset()
Description copied from interface:IsDefaultScaleLines
Returns the line dash pattern offset.- Specified by:
getBorderDashOffset
in interfaceIsDefaultScaleLines
- Returns:
- Offset for line dashes.
-
getBorderDash
public List<Integer> getBorderDash()
Description copied from interface:IsDefaultScaleLines
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Specified by:
getBorderDash
in interfaceIsDefaultScaleLines
- Returns:
- the line dash pattern used when stroking lines
-
-