Class AngleLines
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.options.AbstractModel<AbstractScale,D>
- 
- org.pepstock.charba.client.options.AngleLines
 
 
 
 
- 
- All Implemented Interfaces:
- IsDefaultAngleLines,- IsDefaultScaleLines
 
 public final class AngleLines extends AbstractModel<AbstractScale,D> implements IsDefaultAngleLines It is used to configure angled lines that radiate from the center of the chart to the point labels.
 Note that these options only apply if display istrue.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll 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.doublegetBorderDashOffset()Returns the line dash pattern offset.IsColorgetColor()Returns the color of angled lines.StringgetColorAsString()Returns the color of angled lines.intgetLineWidth()Returns the width of angled lines.booleanisDisplay()Iftrue, angle lines are shownvoidsetBorderDash(int... borderDash)Sets 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.voidsetBorderDashOffset(double borderDashOffset)Sets the line dash pattern offset.voidsetColor(String color)Sets the color of angled lines.voidsetColor(IsColor color)Sets the color of angled lines.voidsetDisplay(boolean display)Iftrue, angle lines are shownvoidsetLineWidth(int lineWidth)Sets the width of angled lines.- 
Methods inherited from class org.pepstock.charba.client.options.AbstractModelgetDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultScaleLinesgetBorderDash, getBorderDashOffset
 
- 
 
- 
- 
- 
Method Detail- 
setDisplaypublic void setDisplay(boolean display) Iftrue, angle lines are shown- Parameters:
- display- if- true, angle lines are shown
 
 - 
isDisplaypublic boolean isDisplay() Iftrue, angle lines are shown- Specified by:
- isDisplayin interface- IsDefaultAngleLines
- Returns:
- if true, angle lines are shown.
 
 - 
setColorpublic void setColor(IsColor color) Sets the color of angled lines.- Parameters:
- color- color of angled lines.
 
 - 
setColorpublic void setColor(String color) Sets the color of angled lines.- Parameters:
- color- color of angled lines.
 
 - 
getColorAsStringpublic String getColorAsString() Returns the color of angled lines.- Specified by:
- getColorAsStringin interface- IsDefaultScaleLines
- Returns:
- color of angled lines.
 
 - 
getColorpublic IsColor getColor() Returns the color of angled lines.- Returns:
- color of angled lines.
 
 - 
setLineWidthpublic void setLineWidth(int lineWidth) Sets the width of angled lines.- Parameters:
- lineWidth- width of angled lines.
 
 - 
getLineWidthpublic int getLineWidth() Returns the width of angled lines.- Specified by:
- getLineWidthin interface- IsDefaultScaleLines
- Returns:
- width of angled lines.
 
 - 
setBorderDashpublic final void setBorderDash(int... borderDash) Sets 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.- Parameters:
- borderDash- the line dash pattern used when stroking lines
 
 - 
getBorderDashpublic final 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.- Specified by:
- getBorderDashin interface- IsDefaultScaleLines
- Returns:
- the line dash pattern used when stroking lines
 
 - 
setBorderDashOffsetpublic final void setBorderDashOffset(double borderDashOffset) Sets the line dash pattern offset.- Parameters:
- borderDashOffset- Offset for line dashes.
 
 - 
getBorderDashOffsetpublic final double getBorderDashOffset() Returns the line dash pattern offset.- Specified by:
- getBorderDashOffsetin interface- IsDefaultScaleLines
- Returns:
- Offset for line dashes.
 
 
- 
 
-