Package org.pepstock.charba.client.data
Class LiningDataset
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.data.Dataset
- 
- org.pepstock.charba.client.data.LiningDataset
 
 
 
 
- 
- All Implemented Interfaces:
- HasCallbackScope,- HasDataset,- HasPointFillStrokeStyles,- IsDefaultAnimationContainer,- IsDefaultAnimationTransition,- IsDefaultFillHandler,- HasAnimationOptions,- HasFill,- HasSpanGaps
 - Direct Known Subclasses:
- LineDataset,- RadarDataset
 
 public abstract class LiningDataset extends Dataset implements HasFill, HasPointFillStrokeStyles, HasSpanGaps The chart allows a number of properties to be specified for each data set.
 These are used to set display properties for a specific data set.
 This class collects a set of common field for Line and Radar charts.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.pepstock.charba.client.data.DatasetDataset.CanvasObjectProperty, Dataset.CommonProperty
 
- 
 - 
Field Summary- 
Fields inherited from class org.pepstock.charba.client.data.DatasetDEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedLiningDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)Creates the data set using a default and chart type related to the data set.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description IsColorgetBackgroundColor()Returns the fill color under the line.
 If property is missing or not a color, returns the default background color.GradientgetBackgroundColorAsGradient()Returns the fill gradient under the line.
 If property is missing or not a gradient, returnsnull.PatterngetBackgroundColorAsPattern()Returns the fill pattern under the line.
 If property is missing or not a pattern, returnsnull.StringgetBackgroundColorAsString()Returns the fill color under the line.
 If property is missing or not a color, returns the default background color.CapStylegetBorderCapStyle()Returns how the end points of every line are drawn.CapStyleCallback<DatasetContext>getBorderCapStyleCallback()Returns the border cap style callback, if set, otherwisenull.IsColorgetBorderColor()Returns the color of the line.
 If property is missing or not a color, returns the default border color.GradientgetBorderColorAsGradient()Returns the gradient of the line.
 If property is missing or not a gradient, returnsnull.StringgetBorderColorAsString()Returns the color of the line.
 If property is missing or not a color, returns the default border color.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.BorderDashCallback<DatasetContext>getBorderDashCallback()Returns the border dash callback, if set, otherwisenull.doublegetBorderDashOffset()Returns the line dash pattern offset.BorderDashOffsetCallback<DatasetContext>getBorderDashOffsetCallback()Returns the border dash offset callback, if set, otherwisenull.JoinStylegetBorderJoinStyle()Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).JoinStyleCallback<DatasetContext>getBorderJoinStyleCallback()Returns the border join style callback, if set, otherwisenull.intgetBorderWidth()Returns the width of the line in pixels.WidthCallback<DatasetContext>getBorderWidthCallback()Returns the border width callback, if set, otherwisenull.protected StringgetDefaultBackgroundColorAsString()Returns the default background color value based on type of chart.protected StringgetDefaultBorderColorAsString()Returns the default border color value based on type of chart.protected intgetDefaultBorderWidth()Returns the default border width value based on type of chart.protected StringgetDefaultHoverBackgroundColorAsString()Returns the default background color value based on type of chart.protected StringgetDefaultHoverBorderColorAsString()Returns the default border color value based on type of chart.protected intgetDefaultHoverBorderWidth()Returns the default border width value based on type of chart.DrawActiveElementsOnTopCallbackgetDrawActiveElementsOnTopCallback()Returns the callback, if draws the active points of a dataset over the other points of the dataset.IsFillgetFill()Returns how to fill the area under the line.FillCallbackgetFillCallback()Returns the fill callback, if set, otherwisenull.FillHandlergetFillHandler()Returns a fill handler instance to use in the default methods of this interface.IsColorgetHoverBackgroundColor()Returns the fill color of the elements when hovered.GradientgetHoverBackgroundColorAsGradient()Returns the fill gradients of elements when hovered.PatterngetHoverBackgroundColorAsPatterns()Returns the fill patters of elements when hovered.StringgetHoverBackgroundColorAsString()Returns the fill color of the elements when hovered.CapStylegetHoverBorderCapStyle()Returns how the end points of every line are drawn, when element is hovered.CapStyleCallback<DatasetContext>getHoverBorderCapStyleCallback()Returns the border cap style callback when element is hovered, if set, otherwisenull.IsColorgetHoverBorderColor()Returns the stroke color of the elements when hoveredGradientgetHoverBorderColorAsGradient()Returns the stroke gradients of the elements when hovered.StringgetHoverBorderColorAsString()Returns the stroke color of the elements when hovered.List<Integer>getHoverBorderDash()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, when element is hovered.BorderDashCallback<DatasetContext>getHoverBorderDashCallback()Returns the border dash callback when element is hovered, if set, otherwisenull.doublegetHoverBorderDashOffset()Returns the line dash pattern offset, when element is hovered.BorderDashOffsetCallback<DatasetContext>getHoverBorderDashOffsetCallback()Returns the border dash offset callback when element is hovered, if set, otherwisenull.JoinStylegetHoverBorderJoinStyle()Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped), when element is hovered.
 There are three possible values for this property: round, bevel and miter.JoinStyleCallback<DatasetContext>getHoverBorderJoinStyleCallback()Returns the border join style callback when element is hovered, if set, otherwisenull.intgetHoverBorderWidth()Returns the stroke width of the elements when hovered.WidthCallback<DatasetContext>getHoverBorderWidthCallback()Returns the hover border width callback, if set, otherwisenull.StringgetLabel()Returns the label for the data set which appears in the legend and tooltips.default intgetOrder()Returns the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.org.pepstock.charba.client.data.OrderHandlergetOrderHandler()List<IsColor>getPointBackgroundColor()Returns the fill color for points.List<Gradient>getPointBackgroundColorAsGradient()Returns the fill color for points.List<String>getPointBackgroundColorAsString()Returns the fill color for points.ColorCallback<DatasetContext>getPointBackgroundColorCallback()Returns the point background color callback, if set, otherwisenull.List<IsColor>getPointBorderColor()Returns the border color for points.List<Gradient>getPointBorderColorAsGradient()Returns the border gradient for points.List<String>getPointBorderColorAsString()Returns the border color for points.ColorCallback<DatasetContext>getPointBorderColorCallback()Returns the point border color callback, if set, otherwisenull.List<Integer>getPointBorderWidth()Returns the width of the point border in pixels.WidthCallback<DatasetContext>getPointBorderWidthCallback()Returns the point border width callback, if set, otherwisenull.KeygetPointFillStyleProperty()Returns the property which is mapping the point fill style.List<Double>getPointHitRadius()Returns the pixel size of the non-displayed point that reacts to mouse events.RadiusCallback<DatasetContext>getPointHitRadiusCallback()Returns the point hit radius callback, if set, otherwisenull.List<IsColor>getPointHoverBackgroundColor()Returns the point background color when hovered.
 If property is missing or not a color, returns the default point background color.List<Gradient>getPointHoverBackgroundColorAsGradient()Returns the point background color when hovered.
 If property is missing or not a gradient, returns an empty list.List<String>getPointHoverBackgroundColorAsString()Returns the point background color when hovered.
 If property is missing or not a color, returns the default point background color.ColorCallback<DatasetContext>getPointHoverBackgroundColorCallback()Returns the point hover background color callback, if set, otherwisenull.List<IsColor>getPointHoverBorderColor()Returns the point border color when hovered.List<Gradient>getPointHoverBorderColorAsGradient()Returns the point border gradient when hovered.List<String>getPointHoverBorderColorAsString()Returns the point border color when hovered.ColorCallback<DatasetContext>getPointHoverBorderColorCallback()Returns the point hover border color callback, if set, otherwisenull.List<Integer>getPointHoverBorderWidth()Returns the border width of point when hovered.WidthCallback<DatasetContext>getPointHoverBorderWidthCallback()Returns the point hover border width callback, if set, otherwisenull.List<Double>getPointHoverRadius()Returns the radius of the point when hovered.RadiusCallback<DatasetContext>getPointHoverRadiusCallback()Returns the point hover radius callback, if set, otherwisenull.List<Double>getPointRadius()Returns the radius of the point shape.RadiusCallback<DatasetContext>getPointRadiusCallback()Returns the point radius callback, if set, otherwisenull.List<Double>getPointRotation()Returns the rotation of the point in degrees.RotationCallback<DatasetContext>getPointRotationCallback()Returns the point rotation callback, if set, otherwisenull.KeygetPointStrokeStyleProperty()Returns the property which is mapping the point stroke style.default List<PointStyle>getPointStyle()Returns the style of the point.default List<Canvas>getPointStyleAsCanvas()Returns the style of the point as canvas.
 If property is missing or not an canvas, returnsnull.default List<Img>getPointStyleAsImages()Returns the style of the point as image.
 If property is missing or not an image, returnsnull.default PointStyleCallback<DatasetContext>getPointStyleCallback()Returns the point style callback, if set, otherwisenull.org.pepstock.charba.client.data.DataPointStyleHandlergetPointStyleHandler()default PointStyleTypegetPointStyleType()Returns the type of point style.SpanGapHandlergetSpanGapHandler()Returns a span gap handler instance to use in the default methods of this interface.doublegetTension()Returns curve tension of the line.booleanisDrawActiveElementsOnTop()Returns if draws the active points of a dataset over the other points of the dataset.voidsetBackgroundColor(String backgroundColor)Sets the fill color under the line.voidsetBackgroundColor(Gradient backgroundColor)Sets the fill gradient under the line.voidsetBackgroundColor(IsColor backgroundColor)Sets the fill color under the line.voidsetBackgroundColor(Pattern backgroundColor)Sets the fill pattern under the line.voidsetBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)Sets the border cap style callback.voidsetBorderCapStyle(NativeCallback borderCapStyleCallback)Sets the border cap style callback.voidsetBorderCapStyle(CapStyle borderCapStyle)Sets how the end points of every line are drawn.voidsetBorderColor(String borderColor)Sets the color of the line.voidsetBorderColor(Gradient borderColor)Sets the gradient of the line.voidsetBorderColor(IsColor borderColor)Sets the color of the line.voidsetBorderDash(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.voidsetBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)Sets the border dash callback.voidsetBorderDash(NativeCallback borderDashCallback)Sets the border dash callback.voidsetBorderDashOffset(double borderDashOffset)Sets the line dash pattern offset.voidsetBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)Sets the border dash offset callback.voidsetBorderDashOffset(NativeCallback borderDashOffsetCallback)Sets the border dash offset callback.voidsetBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidsetBorderJoinStyle(NativeCallback borderJoinStyleCallback)Sets the border join style callback.voidsetBorderJoinStyle(JoinStyle borderJoinStyle)Sets how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).voidsetBorderWidth(int borderWidth)Sets the width of the line in pixels.voidsetBorderWidth(NativeCallback borderWidthCallback)Sets the border width callback.voidsetBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)Sets the border width callback.voidsetDrawActiveElementsOnTop(boolean drawActiveElementsOnTop)Sets if draws the active points of a dataset over the other points of the dataset.voidsetDrawActiveElementsOnTop(DrawActiveElementsOnTopCallback drawActiveElementsOnTopCallback)Sets the callback, if draws the active points of a dataset over the other points of the dataset.voidsetDrawActiveElementsOnTop(NativeCallback drawActiveElementsOnTopCallback)Sets the callback, if draws the active points of a dataset over the other points of the dataset.voidsetFill(FillCallback fillCallback)Sets the fill callback.voidsetFill(NativeCallback fillCallback)Sets the fill callback.voidsetHoverBackgroundColor(String color)Sets the fill color of the elements when hoveredvoidsetHoverBackgroundColor(Gradient gradient)Sets the fill gradient of the elements when hovered.voidsetHoverBackgroundColor(IsColor color)Sets the fill color of the elements when hoveredvoidsetHoverBackgroundColor(Pattern pattern)Sets the fill pattern of the elements when hovered.voidsetHoverBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)Sets the border cap style callback when element is hovered.voidsetHoverBorderCapStyle(NativeCallback borderCapStyleCallback)Sets the border cap style callback when element is hovered.voidsetHoverBorderCapStyle(CapStyle borderCapStyle)Sets how the end points of every line are drawn, when element is hovered.voidsetHoverBorderColor(String color)Sets the stroke color of the elements when hoveredvoidsetHoverBorderColor(Gradient gradient)Sets the stroke gradient of elements when hovered as gradient.voidsetHoverBorderColor(IsColor color)Sets the stroke color of the elements when hoveredvoidsetHoverBorderDash(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, when element is hovered.voidsetHoverBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)Sets the border dash callback when element is hovered.voidsetHoverBorderDash(NativeCallback borderDashCallback)Sets the border dash callback when element is hovered.voidsetHoverBorderDashOffset(double borderDashOffset)Sets the line dash pattern offset, when element is hovered.voidsetHoverBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)Sets the border dash offset callback when element is hovered.voidsetHoverBorderDashOffset(NativeCallback borderDashOffsetCallback)Sets the border dash offset callback when element is hovered.voidsetHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback when element is hovered.voidsetHoverBorderJoinStyle(NativeCallback borderJoinStyleCallback)Sets the border join style callback when element is hovered.voidsetHoverBorderJoinStyle(JoinStyle borderJoinStyle)Sets how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped), when element is hovered.
 There are three possible values for this property: round, bevel and miter.voidsetHoverBorderWidth(int width)Sets the stroke width of the elements when hovered.voidsetHoverBorderWidth(NativeCallback hoverBorderWidthCallback)Sets the hover border width callback.voidsetHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)Sets the hover border width callback.default voidsetOrder(int order)Sets the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.voidsetPointBackgroundColor(String... pointBackgroundColor)Sets the fill color for points.voidsetPointBackgroundColor(ColorCallback<DatasetContext> pointBackgroundColorCallback)Sets the point background color callback.voidsetPointBackgroundColor(NativeCallback pointBackgroundColorCallback)Sets the point background color callback.voidsetPointBackgroundColor(Gradient... pointBackgroundColor)Sets the gradients for points.voidsetPointBackgroundColor(IsColor... pointBackgroundColor)Sets the fill color for points.voidsetPointBorderColor(String... pointBorderColor)Sets the border color for points.voidsetPointBorderColor(ColorCallback<DatasetContext> pointBorderColorCallback)Sets the point border color callback.voidsetPointBorderColor(NativeCallback pointBorderColorCallback)Sets the point border color callback.voidsetPointBorderColor(Gradient... pointBorderColor)Sets the border gradient for points.voidsetPointBorderColor(IsColor... pointBorderColor)Sets the border color for points.voidsetPointBorderWidth(int... pointBorderWidth)Sets the width of the point border in pixels.voidsetPointBorderWidth(NativeCallback pointBorderWidthCallback)Sets the point border width callback.voidsetPointBorderWidth(WidthCallback<DatasetContext> pointBorderWidthCallback)Sets the point border width callback.voidsetPointHitRadius(double... pointHitRadius)Sets the pixel size of the non-displayed point that reacts to mouse events.voidsetPointHitRadius(NativeCallback pointHitRadiusCallback)Sets the point hit radius callback.voidsetPointHitRadius(RadiusCallback<DatasetContext> pointHitRadiusCallback)Sets the point hit radius callback.voidsetPointHoverBackgroundColor(String... pointHoverBackgroundColor)Sets the point hover background color when hovered.voidsetPointHoverBackgroundColor(ColorCallback<DatasetContext> pointHoverBackgroundColorCallback)Sets the point hover background color callback.voidsetPointHoverBackgroundColor(NativeCallback pointHoverBackgroundColorCallback)Sets the point hover background color callback.voidsetPointHoverBackgroundColor(Gradient... pointHoverBackgroundColor)Sets the point background gradient when hovered.voidsetPointHoverBackgroundColor(IsColor... pointHoverBackgroundColor)Sets the point background color when hovered.voidsetPointHoverBorderColor(String... pointHoverBorderColor)Sets the point border color when hovered.voidsetPointHoverBorderColor(ColorCallback<DatasetContext> pointHoverBorderColorCallback)Sets the point hover border color callback.voidsetPointHoverBorderColor(NativeCallback pointHoverBorderColorCallback)Sets the point hover border color callback.voidsetPointHoverBorderColor(Gradient... pointHoverBorderColor)Sets the point border gradient when hovered.voidsetPointHoverBorderColor(IsColor... pointHoverBorderColor)Sets the point border color when hovered.voidsetPointHoverBorderWidth(int... pointHoverBorderWidth)Sets the border width of point when hovered.voidsetPointHoverBorderWidth(NativeCallback pointHoverBorderWidthCallback)Sets the point hover border width callback.voidsetPointHoverBorderWidth(WidthCallback<DatasetContext> pointHoverBorderWidthCallback)Sets the point hover border width callback.voidsetPointHoverRadius(double... pointHoverRadius)Sets the radius of the point when hovered.voidsetPointHoverRadius(NativeCallback pointHoverRadiusCallback)Sets the point hover radius callback.voidsetPointHoverRadius(RadiusCallback<DatasetContext> pointHoverRadiusCallback)Sets the point hover radius callback.voidsetPointRadius(double... pointRadius)Sets the radius of the point shape.
 If set to 0, the point is not rendered.voidsetPointRadius(NativeCallback pointRadiusCallback)Sets the point radius callback.voidsetPointRadius(RadiusCallback<DatasetContext> pointRadiusCallback)Sets the point radius callback.voidsetPointRotation(double... pointRotation)Sets the rotation of the point in degrees.voidsetPointRotation(NativeCallback pointRotationCallback)Sets the point rotation callback.voidsetPointRotation(RotationCallback<DatasetContext> pointRotationCallback)Sets the point rotation callback.default voidsetPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)Sets the point style callback.default voidsetPointStyle(Canvas... pointStyle)Sets the style of the point as canvas.default voidsetPointStyle(Img... pointStyle)Sets the style of the point as image.default voidsetPointStyle(PointStyle... pointStyle)Sets the style of the point.voidsetTension(double tension)Sets curve tension of the line.- 
Methods inherited from class org.pepstock.charba.client.data.DatasetcreateContext, getAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getData, getDataCount, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isClip, isHidden, isNormalized, isParsing, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setClip, setData, setData, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setNormalized, setOptions, setOptions, setParsing
 - 
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.options.HasAnimationOptionsgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
 - 
Methods inherited from interface org.pepstock.charba.client.options.HasFillsetFill, setFill, setFill, setFill
 - 
Methods inherited from interface org.pepstock.charba.client.options.HasSpanGapsgetSpanGaps, isSpanGaps, setSpanGaps, setSpanGaps
 
- 
 
- 
- 
- 
Constructor Detail- 
LiningDatasetprotected LiningDataset(Type type, IsDefaultOptions defaultValues, boolean hidden) Creates the data set using a default and chart type related to the data set.- Parameters:
- type- chart type related to the data set
- defaultValues- default options
- hidden- if- true, it will be initially hidden.
 
 
- 
 - 
Method Detail- 
getFillHandlerpublic FillHandler getFillHandler() Description copied from interface:HasFillReturns a fill handler instance to use in the default methods of this interface.- Specified by:
- getFillHandlerin interface- HasFill
- Returns:
- a fill handler instance
 
 - 
getOrderHandlerpublic final org.pepstock.charba.client.data.OrderHandler getOrderHandler() 
 - 
getSpanGapHandlerpublic final SpanGapHandler getSpanGapHandler() Description copied from interface:HasSpanGapsReturns a span gap handler instance to use in the default methods of this interface.- Specified by:
- getSpanGapHandlerin interface- HasSpanGaps
- Returns:
- a span gap handler instance
 
 - 
getPointStyleHandlerpublic final org.pepstock.charba.client.data.DataPointStyleHandler getPointStyleHandler() 
 - 
getPointFillStylePropertypublic Key getPointFillStyleProperty() Description copied from interface:HasPointFillStrokeStylesReturns the property which is mapping the point fill style.- Specified by:
- getPointFillStylePropertyin interface- HasPointFillStrokeStyles
- Returns:
- the property which is mapping the point fill style
 
 - 
getPointStrokeStylePropertypublic Key getPointStrokeStyleProperty() Description copied from interface:HasPointFillStrokeStylesReturns the property which is mapping the point stroke style.- Specified by:
- getPointStrokeStylePropertyin interface- HasPointFillStrokeStyles
- Returns:
- the property which is mapping the point stroke style
 
 - 
getLabelpublic String getLabel() Returns the label for the data set which appears in the legend and tooltips.
 - 
setDrawActiveElementsOnToppublic void setDrawActiveElementsOnTop(boolean drawActiveElementsOnTop) Sets if draws the active points of a dataset over the other points of the dataset.- Parameters:
- drawActiveElementsOnTop- if- true, draws the active points of a dataset over the other points of the dataset
 
 - 
isDrawActiveElementsOnToppublic boolean isDrawActiveElementsOnTop() Returns if draws the active points of a dataset over the other points of the dataset.- Returns:
- if draws the active points of a dataset over the other points of the dataset.
 
 - 
setBackgroundColorpublic void setBackgroundColor(IsColor backgroundColor) Sets the fill color under the line.- Parameters:
- backgroundColor- the fill color under the line.
 
 - 
setBackgroundColorpublic void setBackgroundColor(String backgroundColor) Sets the fill color under the line.- Parameters:
- backgroundColor- the fill color under the line.
 
 - 
setBackgroundColorpublic void setBackgroundColor(Pattern backgroundColor) Sets the fill pattern under the line.- Parameters:
- backgroundColor- the fill pattern under the line.
 
 - 
setBackgroundColorpublic void setBackgroundColor(Gradient backgroundColor) Sets the fill gradient under the line.- Parameters:
- backgroundColor- the fill gradient under the line.
 
 - 
getBackgroundColorAsStringpublic String getBackgroundColorAsString() Returns the fill color under the line.
 If property is missing or not a color, returns the default background color.- Returns:
- the fill color under the line.
 If property is missing or not a color, returns the default background color.
 
 - 
getBackgroundColorpublic IsColor getBackgroundColor() Returns the fill color under the line.
 If property is missing or not a color, returns the default background color.- Returns:
- the fill color under the line.
 If property is missing or not a color, returns the default background color.
 
 - 
getBackgroundColorAsPatternpublic Pattern getBackgroundColorAsPattern() Returns the fill pattern under the line.
 If property is missing or not a pattern, returnsnull.- Returns:
- the fill pattern under the line.
 If property is missing or not a pattern, returnsnull.
 
 - 
getBackgroundColorAsGradientpublic Gradient getBackgroundColorAsGradient() Returns the fill gradient under the line.
 If property is missing or not a gradient, returnsnull.- Returns:
- the fill gradient under the line.
 If property is missing or not a gradient, returnsnull.
 
 - 
setBorderColorpublic void setBorderColor(IsColor borderColor) Sets the color of the line.- Parameters:
- borderColor- the color of the line.
 
 - 
setBorderColorpublic void setBorderColor(String borderColor) Sets the color of the line.- Parameters:
- borderColor- the color of the line.
 
 - 
setBorderColorpublic void setBorderColor(Gradient borderColor) Sets the gradient of the line.- Parameters:
- borderColor- the gradient of the line.
 
 - 
getBorderColorAsStringpublic String getBorderColorAsString() Returns the color of the line.
 If property is missing or not a color, returns the default border color.- Returns:
- the color of the line.
 If property is missing or not a color, returns the default border color.
 
 - 
getBorderColorpublic IsColor getBorderColor() Returns the color of the line.
 If property is missing or not a color, returns the default border color.- Returns:
- the color of the line.
 If property is missing or not a color, returns the default border color.
 
 - 
getBorderColorAsGradientpublic Gradient getBorderColorAsGradient() Returns the gradient of the line.
 If property is missing or not a gradient, returnsnull.- Returns:
- the gradient of the line.
 If property is missing or not a gradient, returnsnull.
 
 - 
setBorderWidthpublic void setBorderWidth(int borderWidth) Sets the width of the line in pixels.- Parameters:
- borderWidth- the width of the line in pixels.
 
 - 
getBorderWidthpublic int getBorderWidth() Returns the width of the line in pixels.- Returns:
- the width of the line in pixels.
 
 - 
getBorderWidthCallbackpublic WidthCallback<DatasetContext> getBorderWidthCallback() Returns the border width callback, if set, otherwisenull.- Returns:
- the border width callback, if set, otherwise null.
 
 - 
setBorderWidthpublic void setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback) Sets the border width callback.- Parameters:
- borderWidthCallback- the border width callback to set
 
 - 
setBorderWidthpublic void setBorderWidth(NativeCallback borderWidthCallback) Sets the border width callback.- Parameters:
- borderWidthCallback- the border width callback to set
 
 - 
setBorderDashpublic 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, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
 
 - 
getBorderDashpublic 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.- 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.
 
 - 
setBorderDashOffsetpublic void setBorderDashOffset(double borderDashOffset) Sets the line dash pattern offset.- Parameters:
- borderDashOffset- the line dash pattern offset.
 
 - 
getBorderDashOffsetpublic double getBorderDashOffset() Returns the line dash pattern offset.- Returns:
- the line dash pattern offset.
 
 - 
setBorderCapStylepublic void setBorderCapStyle(CapStyle borderCapStyle) Sets how the end points of every line are drawn.- Parameters:
- borderCapStyle- how the end points of every line are drawn.
 
 - 
getBorderCapStylepublic CapStyle getBorderCapStyle() Returns how the end points of every line are drawn.- Returns:
- how the end points of every line are drawn.
 
 - 
setBorderJoinStylepublic void setBorderJoinStyle(JoinStyle borderJoinStyle) Sets how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).- Parameters:
- borderJoinStyle- how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
 
 - 
getBorderJoinStylepublic JoinStyle getBorderJoinStyle() Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).- Returns:
- how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
 
 - 
getFillpublic IsFill getFill() Returns how to fill the area under the line.- Specified by:
- getFillin interface- HasFill
- Specified by:
- getFillin interface- IsDefaultFillHandler
- Returns:
- how to fill the area under the line.
 
 - 
setTensionpublic void setTension(double tension) Sets curve tension of the line. Set to 0 to draw straight lines. This option is ignored if monotone cubic interpolation is used.- Parameters:
- tension- curve tension of the line
 
 - 
getTensionpublic double getTension() Returns curve tension of the line. Set to 0 to draw straight lines. This option is ignored if monotone cubic interpolation is used.- Returns:
- curve tension of the line.
 
 - 
setHoverBackgroundColorpublic void setHoverBackgroundColor(IsColor color) Sets the fill color of the elements when hovered- Parameters:
- color- the fill color of the elements when hovered
 
 - 
setHoverBackgroundColorpublic void setHoverBackgroundColor(String color) Sets the fill color of the elements when hovered- Parameters:
- color- the fill color of the elements when hovered
 
 - 
setHoverBackgroundColorpublic void setHoverBackgroundColor(Pattern pattern) Sets the fill pattern of the elements when hovered.- Parameters:
- pattern- the fill pattern of element when hovered.
 
 - 
setHoverBackgroundColorpublic void setHoverBackgroundColor(Gradient gradient) Sets the fill gradient of the elements when hovered.- Parameters:
- gradient- the fill gradient of the elements when hovered.
 
 - 
getHoverBackgroundColorAsStringpublic String getHoverBackgroundColorAsString() Returns the fill color of the elements when hovered.- Returns:
- the fill color of the elements when hovered
 
 - 
getHoverBackgroundColorpublic IsColor getHoverBackgroundColor() Returns the fill color of the elements when hovered.- Returns:
- the fill color of the elements when hovered
 
 - 
getHoverBackgroundColorAsPatternspublic Pattern getHoverBackgroundColorAsPatterns() Returns the fill patters of elements when hovered. If property is missing or not a pattern, returnsnull.- Returns:
- the fill patterns of elements when hovered. If property is missing or not a pattern, returns null
 
 - 
getHoverBackgroundColorAsGradientpublic Gradient getHoverBackgroundColorAsGradient() Returns the fill gradients of elements when hovered. If property is missing or not a gradient, returnsnull.- Returns:
- the fill gradients of elements when hovered. If property is missing or not a gradient, returns null
 
 - 
setHoverBorderColorpublic void setHoverBorderColor(IsColor color) Sets the stroke color of the elements when hovered- Parameters:
- color- the stroke color of the elements when hovered
 
 - 
setHoverBorderColorpublic void setHoverBorderColor(String color) Sets the stroke color of the elements when hovered- Parameters:
- color- the stroke color of the elements when hovered
 
 - 
setHoverBorderColorpublic void setHoverBorderColor(Gradient gradient) Sets the stroke gradient of elements when hovered as gradient.- Parameters:
- gradient- the stroke gradient of elements when hovered as gradient.
 
 - 
getHoverBorderColorAsStringpublic String getHoverBorderColorAsString() Returns the stroke color of the elements when hovered.- Returns:
- the stroke color of the elements when hovered.
 
 - 
getHoverBorderColorpublic IsColor getHoverBorderColor() Returns the stroke color of the elements when hovered- Returns:
- the stroke color of the elements when hovered
 
 - 
getHoverBorderColorAsGradientpublic Gradient getHoverBorderColorAsGradient() Returns the stroke gradients of the elements when hovered. If property is missing or not a pattern, returnsnull.- Returns:
- list of the stroke gradients of the elements when hovered. If property is missing or not a pattern, returns null
 
 - 
setHoverBorderWidthpublic void setHoverBorderWidth(int width) Sets the stroke width of the elements when hovered.- Parameters:
- width- the stroke width of the elements when hovered.
 
 - 
getHoverBorderWidthpublic int getHoverBorderWidth() Returns the stroke width of the elements when hovered.- Returns:
- list of the stroke width of the elements when hovered.
 
 - 
getHoverBorderWidthCallbackpublic WidthCallback<DatasetContext> getHoverBorderWidthCallback() Returns the hover border width callback, if set, otherwisenull.- Returns:
- the hover border width callback, if set, otherwise null.
 
 - 
setHoverBorderWidthpublic void setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback) Sets the hover border width callback.- Parameters:
- hoverBorderWidthCallback- the hover border width callback to set
 
 - 
setHoverBorderWidthpublic void setHoverBorderWidth(NativeCallback hoverBorderWidthCallback) Sets the hover border width callback.- Parameters:
- hoverBorderWidthCallback- the hover border width callback to set
 
 - 
setHoverBorderDashpublic void setHoverBorderDash(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, when element is hovered.- Parameters:
- borderDash- 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, when element is hovered
 
 - 
getHoverBorderDashpublic List<Integer> getHoverBorderDash() 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, when element is hovered.- 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, when element is hovered
 
 - 
setHoverBorderDashOffsetpublic void setHoverBorderDashOffset(double borderDashOffset) Sets the line dash pattern offset, when element is hovered.- Parameters:
- borderDashOffset- the line dash pattern offset, when element is hovered
 
 - 
getHoverBorderDashOffsetpublic double getHoverBorderDashOffset() Returns the line dash pattern offset, when element is hovered.- Returns:
- the line dash pattern offset, when element is hovered
 
 - 
setHoverBorderCapStylepublic void setHoverBorderCapStyle(CapStyle borderCapStyle) Sets how the end points of every line are drawn, when element is hovered.- Parameters:
- borderCapStyle- how the end points of every line are drawn, when element is hovered
 
 - 
getHoverBorderCapStylepublic CapStyle getHoverBorderCapStyle() Returns how the end points of every line are drawn, when element is hovered.- Returns:
- how the end points of every line are drawn, when element is hovered
 
 - 
setHoverBorderJoinStylepublic void setHoverBorderJoinStyle(JoinStyle borderJoinStyle) Sets how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped), when element is hovered.
 There are three possible values for this property: round, bevel and miter. By default this property is set to miter.- Parameters:
- borderJoinStyle- There are three possible values for this property: round, bevel and miter.
 
 - 
getHoverBorderJoinStylepublic JoinStyle getHoverBorderJoinStyle() Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped), when element is hovered.
 There are three possible values for this property: round, bevel and miter. By default this property is set to miter.- Returns:
- There are three possible values for this property: round, bevel and miter.
 
 - 
setPointBackgroundColorpublic void setPointBackgroundColor(IsColor... pointBackgroundColor) Sets the fill color for points.- Parameters:
- pointBackgroundColor- array of the fill color for points.
 
 - 
setPointBackgroundColorpublic void setPointBackgroundColor(String... pointBackgroundColor) Sets the fill color for points.- Parameters:
- pointBackgroundColor- array of the fill color for points.
 
 - 
setPointBackgroundColorpublic void setPointBackgroundColor(Gradient... pointBackgroundColor) Sets the gradients for points.- Parameters:
- pointBackgroundColor- array of the gradients for points.
 
 - 
getPointBackgroundColorAsStringpublic List<String> getPointBackgroundColorAsString() Returns the fill color for points. If property is missing or not a color, returns the default point background color color.- Returns:
- list of the fill color for points. If property is missing or not a color, returns the point background color color.
 
 - 
getPointBackgroundColorpublic List<IsColor> getPointBackgroundColor() Returns the fill color for points.- Returns:
- list of the fill color for points.
 
 - 
getPointBackgroundColorAsGradientpublic List<Gradient> getPointBackgroundColorAsGradient() Returns the fill color for points. If property is missing or not a gradient, returns an empty list.- Returns:
- list of the fill color for points. If property is missing or not a gradient, returns an empty list.
 
 - 
setPointBorderColorpublic void setPointBorderColor(IsColor... pointBorderColor) Sets the border color for points.- Parameters:
- pointBorderColor- array of the border color for points.
 
 - 
setPointBorderColorpublic void setPointBorderColor(String... pointBorderColor) Sets the border color for points.- Parameters:
- pointBorderColor- array of the border color for points.
 
 - 
setPointBorderColorpublic void setPointBorderColor(Gradient... pointBorderColor) Sets the border gradient for points.- Parameters:
- pointBorderColor- array of the border gradient for points.
 
 - 
getPointBorderColorAsStringpublic List<String> getPointBorderColorAsString() Returns the border color for points. If property is missing or not a color, returns the default point border color.- Returns:
- list of the border color for points. If property is missing or not a color, returns the default point border color.
 
 - 
getPointBorderColorpublic List<IsColor> getPointBorderColor() Returns the border color for points. If property is missing or not a color, returns the default point border color.- Returns:
- list of the border color for points. If property is missing or not a color, returns the default point border color.
 
 - 
getPointBorderColorAsGradientpublic List<Gradient> getPointBorderColorAsGradient() Returns the border gradient for points. If property is missing or not a gradient, returns an empty list.- Returns:
- list of the border gradient for points. If property is missing or not a gradient, returns an empty list.
 
 - 
setPointBorderWidthpublic void setPointBorderWidth(int... pointBorderWidth) Sets the width of the point border in pixels.- Parameters:
- pointBorderWidth- array of the width of the point border in pixels.
 
 - 
getPointBorderWidthpublic List<Integer> getPointBorderWidth() Returns the width of the point border in pixels.- Returns:
- list of the width of the point border in pixels.
 
 - 
setPointHitRadiuspublic void setPointHitRadius(double... pointHitRadius) Sets the pixel size of the non-displayed point that reacts to mouse events.- Parameters:
- pointHitRadius- array of the pixel size of the non-displayed point.
 
 - 
getPointHitRadiuspublic List<Double> getPointHitRadius() Returns the pixel size of the non-displayed point that reacts to mouse events.- Returns:
- list of the pixel size of the non-displayed point.
 
 - 
setPointHoverBackgroundColorpublic void setPointHoverBackgroundColor(IsColor... pointHoverBackgroundColor) Sets the point background color when hovered.- Parameters:
- pointHoverBackgroundColor- array of the point background color when hovered.
 
 - 
setPointHoverBackgroundColorpublic void setPointHoverBackgroundColor(String... pointHoverBackgroundColor) Sets the point hover background color when hovered.- Parameters:
- pointHoverBackgroundColor- array of the point background color when hovered.
 
 - 
setPointHoverBackgroundColorpublic void setPointHoverBackgroundColor(Gradient... pointHoverBackgroundColor) Sets the point background gradient when hovered.- Parameters:
- pointHoverBackgroundColor- array of the point background gradient when hovered.
 
 - 
getPointHoverBackgroundColorAsStringpublic List<String> getPointHoverBackgroundColorAsString() Returns the point background color when hovered.
 If property is missing or not a color, returns the default point background color.- Returns:
- list of the point background color when hovered.
 If property is missing or not a color, returns the default point background color.
 
 - 
getPointHoverBackgroundColorpublic List<IsColor> getPointHoverBackgroundColor() Returns the point background color when hovered.
 If property is missing or not a color, returns the default point background color.- Returns:
- list of the point background color when hovered.
 If property is missing or not a color, returns the default point background color.
 
 - 
getPointHoverBackgroundColorAsGradientpublic List<Gradient> getPointHoverBackgroundColorAsGradient() Returns the point background color when hovered.
 If property is missing or not a gradient, returns an empty list.- Returns:
- list of the point background color when hovered.
 If property is missing or not a gradient, returns an empty list.
 
 - 
setPointHoverBorderColorpublic void setPointHoverBorderColor(IsColor... pointHoverBorderColor) Sets the point border color when hovered.- Parameters:
- pointHoverBorderColor- array of the point border color when hovered.
 
 - 
setPointHoverBorderColorpublic void setPointHoverBorderColor(String... pointHoverBorderColor) Sets the point border color when hovered.- Parameters:
- pointHoverBorderColor- array of the point border color when hovered.
 
 - 
setPointHoverBorderColorpublic void setPointHoverBorderColor(Gradient... pointHoverBorderColor) Sets the point border gradient when hovered.- Parameters:
- pointHoverBorderColor- array of the point border gradient when hovered.
 
 - 
getPointHoverBorderColorAsStringpublic List<String> getPointHoverBorderColorAsString() Returns the point border color when hovered. If property is missing or not a color, returns the default border color.- Returns:
- list of the point border color when hovered. If property is missing or not a color, returns the default border color.
 
 - 
getPointHoverBorderColorpublic List<IsColor> getPointHoverBorderColor() Returns the point border color when hovered. If property is missing or not a color, returns the default border color.- Returns:
- list of the point border color when hovered. If property is missing or not a color, returns the default border color.
 
 - 
getPointHoverBorderColorAsGradientpublic List<Gradient> getPointHoverBorderColorAsGradient() Returns the point border gradient when hovered. If property is missing or not a gradient, returns an empty list.- Returns:
- list of the point border gradient when hovered. If property is missing or not a gradient, returns an empty list.
 
 - 
setPointHoverBorderWidthpublic void setPointHoverBorderWidth(int... pointHoverBorderWidth) Sets the border width of point when hovered.- Parameters:
- pointHoverBorderWidth- array of the border width of point when hovered.
 
 - 
getPointHoverBorderWidthpublic List<Integer> getPointHoverBorderWidth() Returns the border width of point when hovered.- Returns:
- list of the border width of point when hovered.
 
 - 
setPointHoverRadiuspublic void setPointHoverRadius(double... pointHoverRadius) Sets the radius of the point when hovered.- Parameters:
- pointHoverRadius- array of the radius of the point when hovered.
 
 - 
getPointHoverRadiuspublic List<Double> getPointHoverRadius() Returns the radius of the point when hovered.- Returns:
- list of the radius of the point when hovered.
 
 - 
setPointRadiuspublic void setPointRadius(double... pointRadius) Sets the radius of the point shape.
 If set to 0, the point is not rendered.- Parameters:
- pointRadius- array of the radius of the point shape.
 
 - 
getPointRadiuspublic List<Double> getPointRadius() Returns the radius of the point shape.- Returns:
- list of the radius of the point shape.
 
 - 
setPointRotationpublic void setPointRotation(double... pointRotation) Sets the rotation of the point in degrees.- Parameters:
- pointRotation- array of the rotation of the point in degrees.
 
 - 
getPointRotationpublic List<Double> getPointRotation() Returns the rotation of the point in degrees.- Returns:
- list of the rotation of the point in degrees.
 
 - 
getPointBackgroundColorCallbackpublic ColorCallback<DatasetContext> getPointBackgroundColorCallback() Returns the point background color callback, if set, otherwisenull.- Returns:
- the point background color callback, if set, otherwise null.
 
 - 
setPointBackgroundColorpublic void setPointBackgroundColor(ColorCallback<DatasetContext> pointBackgroundColorCallback) Sets the point background color callback.- Parameters:
- pointBackgroundColorCallback- the point background color callback.
 
 - 
setPointBackgroundColorpublic void setPointBackgroundColor(NativeCallback pointBackgroundColorCallback) Sets the point background color callback.- Parameters:
- pointBackgroundColorCallback- the point background color callback.
 
 - 
getPointBorderColorCallbackpublic ColorCallback<DatasetContext> getPointBorderColorCallback() Returns the point border color callback, if set, otherwisenull.- Returns:
- the point border color callback, if set, otherwise null.
 
 - 
setPointBorderColorpublic void setPointBorderColor(ColorCallback<DatasetContext> pointBorderColorCallback) Sets the point border color callback.- Parameters:
- pointBorderColorCallback- the point border color callback.
 
 - 
setPointBorderColorpublic void setPointBorderColor(NativeCallback pointBorderColorCallback) Sets the point border color callback.- Parameters:
- pointBorderColorCallback- the point border color callback.
 
 - 
getPointBorderWidthCallbackpublic WidthCallback<DatasetContext> getPointBorderWidthCallback() Returns the point border width callback, if set, otherwisenull.- Returns:
- the point border width callback, if set, otherwise null.
 
 - 
setPointBorderWidthpublic void setPointBorderWidth(WidthCallback<DatasetContext> pointBorderWidthCallback) Sets the point border width callback.- Parameters:
- pointBorderWidthCallback- the point border width callback to set
 
 - 
setPointBorderWidthpublic void setPointBorderWidth(NativeCallback pointBorderWidthCallback) Sets the point border width callback.- Parameters:
- pointBorderWidthCallback- the point border width callback to set
 
 - 
getPointHoverBackgroundColorCallbackpublic ColorCallback<DatasetContext> getPointHoverBackgroundColorCallback() Returns the point hover background color callback, if set, otherwisenull.- Returns:
- the point hover background color callback, if set, otherwise null.
 
 - 
setPointHoverBackgroundColorpublic void setPointHoverBackgroundColor(ColorCallback<DatasetContext> pointHoverBackgroundColorCallback) Sets the point hover background color callback.- Parameters:
- pointHoverBackgroundColorCallback- the point hover background color callback.
 
 - 
setPointHoverBackgroundColorpublic void setPointHoverBackgroundColor(NativeCallback pointHoverBackgroundColorCallback) Sets the point hover background color callback.- Parameters:
- pointHoverBackgroundColorCallback- the point hover background color callback.
 
 - 
getPointHoverBorderColorCallbackpublic ColorCallback<DatasetContext> getPointHoverBorderColorCallback() Returns the point hover border color callback, if set, otherwisenull.- Returns:
- the point hover border color callback, if set, otherwise null.
 
 - 
setPointHoverBorderColorpublic void setPointHoverBorderColor(ColorCallback<DatasetContext> pointHoverBorderColorCallback) Sets the point hover border color callback.- Parameters:
- pointHoverBorderColorCallback- the point hover border color callback.
 
 - 
setPointHoverBorderColorpublic void setPointHoverBorderColor(NativeCallback pointHoverBorderColorCallback) Sets the point hover border color callback.- Parameters:
- pointHoverBorderColorCallback- the point hover border color callback.
 
 - 
getPointHoverBorderWidthCallbackpublic WidthCallback<DatasetContext> getPointHoverBorderWidthCallback() Returns the point hover border width callback, if set, otherwisenull.- Returns:
- the point hover border width callback, if set, otherwise null.
 
 - 
setPointHoverBorderWidthpublic void setPointHoverBorderWidth(WidthCallback<DatasetContext> pointHoverBorderWidthCallback) Sets the point hover border width callback.- Parameters:
- pointHoverBorderWidthCallback- the point hover border width callback to set
 
 - 
setPointHoverBorderWidthpublic void setPointHoverBorderWidth(NativeCallback pointHoverBorderWidthCallback) Sets the point hover border width callback.- Parameters:
- pointHoverBorderWidthCallback- the point hover border width callback to set
 
 - 
getPointRadiusCallbackpublic RadiusCallback<DatasetContext> getPointRadiusCallback() Returns the point radius callback, if set, otherwisenull.- Returns:
- the point radius callback, if set, otherwise null.
 
 - 
setPointRadiuspublic void setPointRadius(RadiusCallback<DatasetContext> pointRadiusCallback) Sets the point radius callback.- Parameters:
- pointRadiusCallback- the point radius callback to set
 
 - 
setPointRadiuspublic void setPointRadius(NativeCallback pointRadiusCallback) Sets the point radius callback.- Parameters:
- pointRadiusCallback- the point radius callback to set
 
 - 
getPointHitRadiusCallbackpublic RadiusCallback<DatasetContext> getPointHitRadiusCallback() Returns the point hit radius callback, if set, otherwisenull.- Returns:
- the point hit radius callback, if set, otherwise null.
 
 - 
setPointHitRadiuspublic void setPointHitRadius(RadiusCallback<DatasetContext> pointHitRadiusCallback) Sets the point hit radius callback.- Parameters:
- pointHitRadiusCallback- the point hit radius callback to set
 
 - 
setPointHitRadiuspublic void setPointHitRadius(NativeCallback pointHitRadiusCallback) Sets the point hit radius callback.- Parameters:
- pointHitRadiusCallback- the point hit radius callback to set
 
 - 
getPointHoverRadiusCallbackpublic RadiusCallback<DatasetContext> getPointHoverRadiusCallback() Returns the point hover radius callback, if set, otherwisenull.- Returns:
- the point hover radius callback, if set, otherwise null.
 
 - 
setPointHoverRadiuspublic void setPointHoverRadius(RadiusCallback<DatasetContext> pointHoverRadiusCallback) Sets the point hover radius callback.- Parameters:
- pointHoverRadiusCallback- the point hover radius callback to set
 
 - 
setPointHoverRadiuspublic void setPointHoverRadius(NativeCallback pointHoverRadiusCallback) Sets the point hover radius callback.- Parameters:
- pointHoverRadiusCallback- the point hover radius callback to set
 
 - 
getPointRotationCallbackpublic RotationCallback<DatasetContext> getPointRotationCallback() Returns the point rotation callback, if set, otherwisenull.- Returns:
- the point rotation callback, if set, otherwise null.
 
 - 
setPointRotationpublic void setPointRotation(RotationCallback<DatasetContext> pointRotationCallback) Sets the point rotation callback.- Parameters:
- pointRotationCallback- the point rotation callback to set
 
 - 
setPointRotationpublic void setPointRotation(NativeCallback pointRotationCallback) Sets the point rotation callback.- Parameters:
- pointRotationCallback- the point rotation callback to set
 
 - 
getBorderCapStyleCallbackpublic CapStyleCallback<DatasetContext> getBorderCapStyleCallback() Returns the border cap style callback, if set, otherwisenull.- Returns:
- the border cap style callback, if set, otherwise null.
 
 - 
setBorderCapStylepublic void setBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback) Sets the border cap style callback.- Parameters:
- borderCapStyleCallback- the border cap style callback.
 
 - 
setBorderCapStylepublic void setBorderCapStyle(NativeCallback borderCapStyleCallback) Sets the border cap style callback.- Parameters:
- borderCapStyleCallback- the border cap style callback.
 
 - 
getBorderJoinStyleCallbackpublic JoinStyleCallback<DatasetContext> getBorderJoinStyleCallback() Returns the border join style callback, if set, otherwisenull.- Returns:
- the border join style callback, if set, otherwise null.
 
 - 
setBorderJoinStylepublic void setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback) Sets the border join style callback.- Parameters:
- borderJoinStyleCallback- the border join style callback.
 
 - 
setBorderJoinStylepublic void setBorderJoinStyle(NativeCallback borderJoinStyleCallback) Sets the border join style callback.- Parameters:
- borderJoinStyleCallback- the border join style callback.
 
 - 
getBorderDashCallbackpublic BorderDashCallback<DatasetContext> getBorderDashCallback() Returns the border dash callback, if set, otherwisenull.- Returns:
- the border dash callback, if set, otherwise null.
 
 - 
setBorderDashpublic void setBorderDash(BorderDashCallback<DatasetContext> borderDashCallback) Sets the border dash callback.- Parameters:
- borderDashCallback- the border dash callback.
 
 - 
setBorderDashpublic void setBorderDash(NativeCallback borderDashCallback) Sets the border dash callback.- Parameters:
- borderDashCallback- the border dash callback.
 
 - 
getBorderDashOffsetCallbackpublic BorderDashOffsetCallback<DatasetContext> getBorderDashOffsetCallback() Returns the border dash offset callback, if set, otherwisenull.- Returns:
- the border dash offset callback, if set, otherwise null.
 
 - 
setBorderDashOffsetpublic void setBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback) Sets the border dash offset callback.- Parameters:
- borderDashOffsetCallback- the border dash offset callback.
 
 - 
setBorderDashOffsetpublic void setBorderDashOffset(NativeCallback borderDashOffsetCallback) Sets the border dash offset callback.- Parameters:
- borderDashOffsetCallback- the border dash offset callback.
 
 - 
getHoverBorderCapStyleCallbackpublic CapStyleCallback<DatasetContext> getHoverBorderCapStyleCallback() Returns the border cap style callback when element is hovered, if set, otherwisenull.- Returns:
- the border cap style callback when element is hovered, if set, otherwise null
 
 - 
setHoverBorderCapStylepublic void setHoverBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback) Sets the border cap style callback when element is hovered.- Parameters:
- borderCapStyleCallback- the border cap style callback when element is hovered
 
 - 
setHoverBorderCapStylepublic void setHoverBorderCapStyle(NativeCallback borderCapStyleCallback) Sets the border cap style callback when element is hovered.- Parameters:
- borderCapStyleCallback- the border cap style callback when element is hovered
 
 - 
getHoverBorderJoinStyleCallbackpublic JoinStyleCallback<DatasetContext> getHoverBorderJoinStyleCallback() Returns the border join style callback when element is hovered, if set, otherwisenull.- Returns:
- the border join style callback when element is hovered, if set, otherwise null.
 
 - 
setHoverBorderJoinStylepublic void setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback) Sets the border join style callback when element is hovered.- Parameters:
- borderJoinStyleCallback- the border join style callback when element is hovered.
 
 - 
setHoverBorderJoinStylepublic void setHoverBorderJoinStyle(NativeCallback borderJoinStyleCallback) Sets the border join style callback when element is hovered.- Parameters:
- borderJoinStyleCallback- the border join style callback when element is hovered.
 
 - 
getHoverBorderDashCallbackpublic BorderDashCallback<DatasetContext> getHoverBorderDashCallback() Returns the border dash callback when element is hovered, if set, otherwisenull.- Returns:
- the border dash callback when element is hovered, if set, otherwise null.
 
 - 
setHoverBorderDashpublic void setHoverBorderDash(BorderDashCallback<DatasetContext> borderDashCallback) Sets the border dash callback when element is hovered.- Parameters:
- borderDashCallback- the border dash callback when element is hovered.
 
 - 
setHoverBorderDashpublic void setHoverBorderDash(NativeCallback borderDashCallback) Sets the border dash callback when element is hovered.- Parameters:
- borderDashCallback- the border dash callback when element is hovered.
 
 - 
getHoverBorderDashOffsetCallbackpublic BorderDashOffsetCallback<DatasetContext> getHoverBorderDashOffsetCallback() Returns the border dash offset callback when element is hovered, if set, otherwisenull.- Returns:
- the border dash offset callback when element is hovered, if set, otherwise null.
 
 - 
setHoverBorderDashOffsetpublic void setHoverBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback) Sets the border dash offset callback when element is hovered.- Parameters:
- borderDashOffsetCallback- the border dash offset callback when element is hovered.
 
 - 
setHoverBorderDashOffsetpublic void setHoverBorderDashOffset(NativeCallback borderDashOffsetCallback) Sets the border dash offset callback when element is hovered.- Parameters:
- borderDashOffsetCallback- the border dash offset callback when element is hovered.
 
 - 
getFillCallbackpublic FillCallback getFillCallback() Returns the fill callback, if set, otherwisenull.- Returns:
- the fill callback, if set, otherwise null.
 
 - 
setFillpublic void setFill(FillCallback fillCallback) Sets the fill callback.- Parameters:
- fillCallback- the fill callback.
 
 - 
setFillpublic void setFill(NativeCallback fillCallback) Sets the fill callback.- Parameters:
- fillCallback- the fill callback.
 
 - 
getDrawActiveElementsOnTopCallbackpublic DrawActiveElementsOnTopCallback getDrawActiveElementsOnTopCallback() Returns the callback, if draws the active points of a dataset over the other points of the dataset.- Returns:
- the callback, if draws the active points of a dataset over the other points of the dataset
 
 - 
setDrawActiveElementsOnToppublic void setDrawActiveElementsOnTop(DrawActiveElementsOnTopCallback drawActiveElementsOnTopCallback) Sets the callback, if draws the active points of a dataset over the other points of the dataset.- Parameters:
- drawActiveElementsOnTopCallback- the callback, if draws the active points of a dataset over the other points of the dataset.
 
 - 
setDrawActiveElementsOnToppublic void setDrawActiveElementsOnTop(NativeCallback drawActiveElementsOnTopCallback) Sets the callback, if draws the active points of a dataset over the other points of the dataset.- Parameters:
- drawActiveElementsOnTopCallback- the callback, if draws the active points of a dataset over the other points of the dataset.
 
 - 
getDefaultBackgroundColorAsStringprotected String getDefaultBackgroundColorAsString() Description copied from class:DatasetReturns the default background color value based on type of chart.- Overrides:
- getDefaultBackgroundColorAsStringin class- Dataset
- Returns:
- the default background color value based on type of chart.
 
 - 
getDefaultBorderColorAsStringprotected String getDefaultBorderColorAsString() Description copied from class:DatasetReturns the default border color value based on type of chart.- Overrides:
- getDefaultBorderColorAsStringin class- Dataset
- Returns:
- the default border color value based on type of chart.
 
 - 
getDefaultBorderWidthprotected int getDefaultBorderWidth() Description copied from class:DatasetReturns the default border width value based on type of chart.- Overrides:
- getDefaultBorderWidthin class- Dataset
- Returns:
- the default border width value based on type of chart.
 
 - 
getDefaultHoverBackgroundColorAsStringprotected String getDefaultHoverBackgroundColorAsString() Description copied from class:DatasetReturns the default background color value based on type of chart.- Overrides:
- getDefaultHoverBackgroundColorAsStringin class- Dataset
- Returns:
- the default background color value based on type of chart.
 
 - 
getDefaultHoverBorderColorAsStringprotected String getDefaultHoverBorderColorAsString() Description copied from class:DatasetReturns the default border color value based on type of chart.- Overrides:
- getDefaultHoverBorderColorAsStringin class- Dataset
- Returns:
- the default border color value based on type of chart.
 
 - 
getDefaultHoverBorderWidthprotected int getDefaultHoverBorderWidth() Description copied from class:DatasetReturns the default border width value based on type of chart.- Overrides:
- getDefaultHoverBorderWidthin class- Dataset
- Returns:
- the default border width value based on type of chart.
 
 - 
setOrderpublic default void setOrder(int order) Sets the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.- Parameters:
- order- the drawing order of dataset.
 
 - 
getOrderpublic default int getOrder() Returns the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.- Returns:
- the drawing order of dataset
 
 - 
setPointStylepublic default void setPointStyle(PointStyle... pointStyle) Sets the style of the point.- Parameters:
- pointStyle- array of the style of the point.
 
 - 
getPointStylepublic default List<PointStyle> getPointStyle() Returns the style of the point.- Returns:
- the style of the point or nullif point style is set as image
 
 - 
setPointStylepublic default void setPointStyle(Img... pointStyle) Sets the style of the point as image.- Parameters:
- pointStyle- image element of the style of the point as image.
 
 - 
getPointStyleTypepublic default PointStyleType getPointStyleType() Returns the type of point style.- Returns:
- the type of point style
 
 - 
getPointStyleAsImagespublic default List<Img> getPointStyleAsImages() Returns the style of the point as image.
 If property is missing or not an image, returnsnull.- Returns:
- image of the style of the point as image.
 If property is missing or not a image, returnsnull.
 
 - 
setPointStylepublic default void setPointStyle(Canvas... pointStyle) Sets the style of the point as canvas.- Parameters:
- pointStyle- canvas element of the style of the point as canvas.
 
 - 
getPointStyleAsCanvaspublic default List<Canvas> getPointStyleAsCanvas() Returns the style of the point as canvas.
 If property is missing or not an canvas, returnsnull.- Returns:
- image of the style of the point as canvas.
 If property is missing or not a canvas, returnsnull.
 
 - 
getPointStyleCallbackpublic default PointStyleCallback<DatasetContext> getPointStyleCallback() Returns the point style callback, if set, otherwisenull.- Returns:
- the point style callback, if set, otherwise null.
 
 - 
setPointStylepublic default void setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback) Sets the point style callback.- Parameters:
- pointStyleCallback- the point style callback.
 
 
- 
 
-