| Package | Description | 
|---|---|
| org.pepstock.charba.client.configuration | 
 Contains all elements to configure a chart instance (know as chart options at instance level). 
 | 
| org.pepstock.charba.client.data | 
 Contains all elements to configure the datasets of a chart instance (know as chart data at instance level). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CapStyleCallback<DatasetContext> | 
Line.getBorderCapStyleCallback()
Returns the border capstyle callback, if set, otherwise  
null. | 
BorderDashCallback<DatasetContext> | 
Line.getBorderDashCallback()
Returns the border dash callback, if set, otherwise  
null. | 
BorderDashOffsetCallback<DatasetContext> | 
Line.getBorderDashOffsetCallback()
Returns the border dash offset callback, if set, otherwise  
null. | 
JoinStyleCallback<DatasetContext> | 
Line.getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
Point.getHitRadiusCallback()
Returns the hit radius callback, if set, otherwise  
null. | 
OffsetCallback<DatasetContext> | 
Arc.getHoverOffsetCallback()
Returns the offset callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
Point.getHoverRadiusCallback()
Returns the hover radius callback, if set, otherwise  
null. | 
OffsetCallback<DatasetContext> | 
Arc.getOffsetCallback()
Returns the offset callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
Point.getRadiusCallback()
Returns the radius callback, if set, otherwise  
null. | 
RotationCallback<DatasetContext> | 
Point.getRotationCallback()
Returns the rotation callback, if set, otherwise  
null. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Line.setBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)
Sets the border capstyle callback. 
 | 
void | 
Line.setBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)
Sets the border dash callback. 
 | 
void | 
Line.setBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)
Sets the border dash offset callback. 
 | 
void | 
Line.setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback. 
 | 
void | 
Point.setHitRadius(RadiusCallback<DatasetContext> hitRadiusCallback)
Sets the hit radius callback. 
 | 
void | 
Arc.setHoverOffset(OffsetCallback<DatasetContext> hoverOffsetCallback)
Sets the offset callback, when hovered. 
 | 
void | 
Point.setHoverRadius(RadiusCallback<DatasetContext> hoverRadiusCallback)
Sets the hover radius callback. 
 | 
void | 
Arc.setOffset(OffsetCallback<DatasetContext> offsetCallback)
Sets the offset callback. 
 | 
void | 
Point.setRadius(RadiusCallback<DatasetContext> radiusCallback)
Sets the radius callback. 
 | 
void | 
Point.setRotation(RotationCallback<DatasetContext> rotationCallback)
Sets the rotation callback. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ColorCallback<DatasetContext> | 
Dataset.getBackgroundColorCallback()
Returns the background color callback, if set, otherwise  
null. | 
CapStyleCallback<DatasetContext> | 
LiningDataset.getBorderCapStyleCallback()
Returns the border cap style callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
Dataset.getBorderColorCallback()
Returns the border color callback, if set, otherwise  
null. | 
BorderDashCallback<DatasetContext> | 
LiningDataset.getBorderDashCallback()
Returns the border dash callback, if set, otherwise  
null. | 
BorderDashOffsetCallback<DatasetContext> | 
LiningDataset.getBorderDashOffsetCallback()
Returns the border dash offset callback, if set, otherwise  
null. | 
JoinStyleCallback<DatasetContext> | 
LiningDataset.getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
LiningDataset.getBorderWidthCallback()
Returns the border width callback, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
HovingDataset.getBorderWidthCallback()
Returns the border width callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
BubbleDataset.getHitRadiusCallback()
Returns the hit radius callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
Dataset.getHoverBackgroundColorCallback()
Returns the hover background color callback, if set, otherwise  
null. | 
CapStyleCallback<DatasetContext> | 
LiningDataset.getHoverBorderCapStyleCallback()
Returns the border cap style callback when element is hovered, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
Dataset.getHoverBorderColorCallback()
Returns the hover border color callback, if set, otherwise  
null. | 
BorderDashCallback<DatasetContext> | 
LiningDataset.getHoverBorderDashCallback()
Returns the border dash callback when element is hovered, if set, otherwise  
null. | 
BorderDashOffsetCallback<DatasetContext> | 
LiningDataset.getHoverBorderDashOffsetCallback()
Returns the border dash offset callback when element is hovered, if set, otherwise  
null. | 
JoinStyleCallback<DatasetContext> | 
LiningDataset.getHoverBorderJoinStyleCallback()
Returns the border join style callback when element is hovered, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
LiningDataset.getHoverBorderWidthCallback()
Returns the hover border width callback, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
HovingDataset.getHoverBorderWidthCallback()
Returns the hover border width callback, if set, otherwise  
null. | 
OffsetCallback<DatasetContext> | 
PieDataset.getHoverOffsetCallback()
Returns the offset callback, when dataset is hovered, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
BubbleDataset.getHoverRadiusCallback()
Returns the hover radius callback, if set, otherwise  
null. | 
OffsetCallback<DatasetContext> | 
PieDataset.getOffsetCallback()
Returns the offset callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
LiningDataset.getPointBackgroundColorCallback()
Returns the point background color callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
LiningDataset.getPointBorderColorCallback()
Returns the point border color callback, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
LiningDataset.getPointBorderWidthCallback()
Returns the point border width callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
LiningDataset.getPointHitRadiusCallback()
Returns the point hit radius callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
LiningDataset.getPointHoverBackgroundColorCallback()
Returns the point hover background color callback, if set, otherwise  
null. | 
ColorCallback<DatasetContext> | 
LiningDataset.getPointHoverBorderColorCallback()
Returns the point hover border color callback, if set, otherwise  
null. | 
WidthCallback<DatasetContext> | 
LiningDataset.getPointHoverBorderWidthCallback()
Returns the point hover border width callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
LiningDataset.getPointHoverRadiusCallback()
Returns the point hover radius callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
LiningDataset.getPointRadiusCallback()
Returns the point radius callback, if set, otherwise  
null. | 
RotationCallback<DatasetContext> | 
LiningDataset.getPointRotationCallback()
Returns the point rotation callback, if set, otherwise  
null. | 
RadiusCallback<DatasetContext> | 
BubbleDataset.getRadiusCallback()
Returns the radius callback, if set, otherwise  
null. | 
RotationCallback<DatasetContext> | 
BubbleDataset.getRotationCallback()
Returns the rotation callback, if set, otherwise  
null. | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
Dataset.invokeColorCallback(DatasetContext context,
                   Scriptable<?,DatasetContext> callback,
                   org.pepstock.charba.client.data.Dataset.CanvasObjectKey property,
                   String defaultValue)
Returns a color value of property by a callback, checking all different types of object which can be used as value of the property in color ones. 
 | 
Dataset | 
Data.retrieveDataset(DatasetContext context)
Returns a data set instance by scriptable context, data set index and index. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Object | 
Dataset.invokeColorCallback(DatasetContext context,
                   Scriptable<?,DatasetContext> callback,
                   org.pepstock.charba.client.data.Dataset.CanvasObjectKey property,
                   String defaultValue)
Returns a color value of property by a callback, checking all different types of object which can be used as value of the property in color ones. 
 | 
void | 
Dataset.setBackgroundColor(ColorCallback<DatasetContext> backgroundColorCallback)
Sets the background color callback. 
 | 
void | 
LiningDataset.setBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)
Sets the border cap style callback. 
 | 
void | 
Dataset.setBorderColor(ColorCallback<DatasetContext> borderColorCallback)
Sets the border color callback. 
 | 
void | 
LiningDataset.setBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)
Sets the border dash callback. 
 | 
void | 
LiningDataset.setBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)
Sets the border dash offset callback. 
 | 
void | 
LiningDataset.setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback. 
 | 
void | 
LiningDataset.setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)
Sets the border width callback. 
 | 
void | 
HovingDataset.setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)
Sets the border width callback. 
 | 
void | 
BubbleDataset.setHitRadius(RadiusCallback<DatasetContext> hitRadiusCallback)
Sets the hit radius callback. 
 | 
void | 
Dataset.setHoverBackgroundColor(ColorCallback<DatasetContext> hoverBackgroundColorCallback)
Sets the hover background color callback. 
 | 
void | 
LiningDataset.setHoverBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)
Sets the border cap style callback when element is hovered. 
 | 
void | 
Dataset.setHoverBorderColor(ColorCallback<DatasetContext> hoverBorderColorCallback)
Sets the hover border color callback. 
 | 
void | 
LiningDataset.setHoverBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)
Sets the border dash callback when element is hovered. 
 | 
void | 
LiningDataset.setHoverBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)
Sets the border dash offset callback when element is hovered. 
 | 
void | 
LiningDataset.setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback when element is hovered. 
 | 
void | 
LiningDataset.setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)
Sets the hover border width callback. 
 | 
void | 
HovingDataset.setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)
Sets the hover border width callback. 
 | 
void | 
PieDataset.setHoverOffset(OffsetCallback<DatasetContext> hoverOffsetCallback)
Sets the offset callback, when dataset is hovered. 
 | 
void | 
BubbleDataset.setHoverRadius(RadiusCallback<DatasetContext> hoverRadiusCallback)
Sets the hover radius callback. 
 | 
void | 
PieDataset.setOffset(OffsetCallback<DatasetContext> offsetCallback)
Sets the offset callback. 
 | 
void | 
LiningDataset.setPointBackgroundColor(ColorCallback<DatasetContext> pointBackgroundColorCallback)
Sets the point background color callback. 
 | 
void | 
LiningDataset.setPointBorderColor(ColorCallback<DatasetContext> pointBorderColorCallback)
Sets the point border color callback. 
 | 
void | 
LiningDataset.setPointBorderWidth(WidthCallback<DatasetContext> pointBorderWidthCallback)
Sets the point border width callback. 
 | 
void | 
LiningDataset.setPointHitRadius(RadiusCallback<DatasetContext> pointHitRadiusCallback)
Sets the point hit radius callback. 
 | 
void | 
LiningDataset.setPointHoverBackgroundColor(ColorCallback<DatasetContext> pointHoverBackgroundColorCallback)
Sets the point hover background color callback. 
 | 
void | 
LiningDataset.setPointHoverBorderColor(ColorCallback<DatasetContext> pointHoverBorderColorCallback)
Sets the point hover border color callback. 
 | 
void | 
LiningDataset.setPointHoverBorderWidth(WidthCallback<DatasetContext> pointHoverBorderWidthCallback)
Sets the point hover border width callback. 
 | 
void | 
LiningDataset.setPointHoverRadius(RadiusCallback<DatasetContext> pointHoverRadiusCallback)
Sets the point hover radius callback. 
 | 
void | 
LiningDataset.setPointRadius(RadiusCallback<DatasetContext> pointRadiusCallback)
Sets the point radius callback. 
 | 
void | 
LiningDataset.setPointRotation(RotationCallback<DatasetContext> pointRotationCallback)
Sets the point rotation callback. 
 | 
void | 
BubbleDataset.setRadius(RadiusCallback<DatasetContext> radiusCallback)
Sets the radius callback. 
 | 
void | 
BubbleDataset.setRotation(RotationCallback<DatasetContext> rotationCallback)
Sets the rotation callback. 
 |