Uses of Class
org.pepstock.charba.client.callbacks.DatasetContext
-
Packages that use DatasetContext 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).org.pepstock.charba.client.impl.charts Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box.org.pepstock.charba.client.matrix Contains all classes to activate the Matrix controller (AKAchartjs-chart-matrix.js
) for CHART.js.org.pepstock.charba.client.sankey Contains all classes to activate the Sankey controller (AKAchartjs-chart-sankey.js
) for CHART.js. -
-
Uses of DatasetContext in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return types with arguments of type DatasetContext Modifier and Type Method Description CapStyleCallback<DatasetContext>
Line. getBorderCapStyleCallback()
Returns the border capstyle callback, if set, otherwisenull
.BorderDashCallback<DatasetContext>
Line. getBorderDashCallback()
Returns the border dash callback, if set, otherwisenull
.BorderDashOffsetCallback<DatasetContext>
Line. getBorderDashOffsetCallback()
Returns the border dash offset callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
Arc. getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
Line. getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
Arc. getBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
Bar. getBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
Point. getHitRadiusCallback()
Returns the hit radius callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
Arc. getHoverBorderJoinStyleCallback()
Returns the hover border join style callback, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
Bar. getHoverBorderRadiusCallback()
Returns the border radius callback, when hovered, if set, otherwisenull
.OffsetCallback<DatasetContext>
Arc. getHoverOffsetCallback()
Returns the offset callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
Point. getHoverRadiusCallback()
Returns the hover radius callback, if set, otherwisenull
.OffsetCallback<DatasetContext>
Arc. getOffsetCallback()
Returns the offset callback, if set, otherwisenull
.PointStyleCallback<DatasetContext>
Bar. getPointStyleCallback()
Returns the point style callback, if set, otherwisenull
.PointStyleCallback<DatasetContext>
Point. getPointStyleCallback()
Returns the point style callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
Point. getRadiusCallback()
Returns the radius callback, if set, otherwisenull
.RotationCallback<DatasetContext>
Point. getRotationCallback()
Returns the rotation callback, if set, otherwisenull
.Method parameters in org.pepstock.charba.client.configuration with type arguments of type DatasetContext Modifier and Type Method 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
Arc. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback.void
Line. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback.void
Arc. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)
Sets the border radius callback.void
Bar. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)
Sets the border radius callback.void
Point. setHitRadius(RadiusCallback<DatasetContext> hitRadiusCallback)
Sets the hit radius callback.void
Arc. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> hoverBorderJoinStyleCallback)
Sets the hover border join style callback.void
Bar. setHoverBorderRadius(BorderRadiusCallback<DatasetContext> hoverBorderRadiusCallback)
Sets the border radius callback, when hovered.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
Bar. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)
Sets the point style callback.void
Point. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)
Sets the point style callback.void
Point. setRadius(RadiusCallback<DatasetContext> radiusCallback)
Sets the radius callback.void
Point. setRotation(RotationCallback<DatasetContext> rotationCallback)
Sets the rotation callback. -
Uses of DatasetContext in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return DatasetContext Modifier and Type Method Description protected DatasetContext
Dataset. createContext(NativeObject context)
Creates a data set context for callback.Methods in org.pepstock.charba.client.data that return types with arguments of type DatasetContext Modifier and Type Method Description ColorCallback<DatasetContext>
Dataset. getBackgroundColorCallback()
Returns the background color callback, if set, otherwisenull
.CapStyleCallback<DatasetContext>
LiningDataset. getBorderCapStyleCallback()
Returns the border cap style callback, if set, otherwisenull
.ColorCallback<DatasetContext>
Dataset. getBorderColorCallback()
Returns the border color callback, if set, otherwisenull
.BorderDashCallback<DatasetContext>
LiningDataset. getBorderDashCallback()
Returns the border dash callback, if set, otherwisenull
.BorderDashOffsetCallback<DatasetContext>
LiningDataset. getBorderDashOffsetCallback()
Returns the border dash offset callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
LiningDataset. getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
PieDataset. getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
PolarAreaDataset. getBorderJoinStyleCallback()
Returns the border join style callback, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
BarDataset. getBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
PieDataset. getBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
.WidthCallback<DatasetContext>
HoverDataset. getBorderWidthCallback()
Returns the border width callback, if set, otherwisenull
.WidthCallback<DatasetContext>
LiningDataset. getBorderWidthCallback()
Returns the border width callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
BubbleDataset. getHitRadiusCallback()
Returns the hit radius callback, if set, otherwisenull
.ColorCallback<DatasetContext>
Dataset. getHoverBackgroundColorCallback()
Returns the hover background color callback, if set, otherwisenull
.CapStyleCallback<DatasetContext>
LiningDataset. getHoverBorderCapStyleCallback()
Returns the border cap style callback when element is hovered, if set, otherwisenull
.ColorCallback<DatasetContext>
Dataset. getHoverBorderColorCallback()
Returns the hover border color callback, if set, otherwisenull
.BorderDashCallback<DatasetContext>
LiningDataset. getHoverBorderDashCallback()
Returns the border dash callback when element is hovered, if set, otherwisenull
.BorderDashOffsetCallback<DatasetContext>
LiningDataset. getHoverBorderDashOffsetCallback()
Returns the border dash offset callback when element is hovered, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
LiningDataset. getHoverBorderJoinStyleCallback()
Returns the border join style callback when element is hovered, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
PieDataset. getHoverBorderJoinStyleCallback()
Returns the border join style callback when element is hovered, if set, otherwisenull
.JoinStyleCallback<DatasetContext>
PolarAreaDataset. getHoverBorderJoinStyleCallback()
Returns the border join style callback when element is hovered, if set, otherwisenull
.BorderRadiusCallback<DatasetContext>
BarDataset. getHoverBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
, when hovered.WidthCallback<DatasetContext>
HoverDataset. getHoverBorderWidthCallback()
Returns the hover border width callback, if set, otherwisenull
.WidthCallback<DatasetContext>
LiningDataset. getHoverBorderWidthCallback()
Returns the hover border width callback, if set, otherwisenull
.OffsetCallback<DatasetContext>
PieDataset. getHoverOffsetCallback()
Returns the offset callback, when dataset is hovered, if set, otherwisenull
.RadiusCallback<DatasetContext>
BubbleDataset. getHoverRadiusCallback()
Returns the hover radius callback, if set, otherwisenull
.OffsetCallback<DatasetContext>
PieDataset. getOffsetCallback()
Returns the offset callback, if set, otherwisenull
.ColorCallback<DatasetContext>
LiningDataset. getPointBackgroundColorCallback()
Returns the point background color callback, if set, otherwisenull
.ColorCallback<DatasetContext>
LiningDataset. getPointBorderColorCallback()
Returns the point border color callback, if set, otherwisenull
.WidthCallback<DatasetContext>
LiningDataset. getPointBorderWidthCallback()
Returns the point border width callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
LiningDataset. getPointHitRadiusCallback()
Returns the point hit radius callback, if set, otherwisenull
.ColorCallback<DatasetContext>
LiningDataset. getPointHoverBackgroundColorCallback()
Returns the point hover background color callback, if set, otherwisenull
.ColorCallback<DatasetContext>
LiningDataset. getPointHoverBorderColorCallback()
Returns the point hover border color callback, if set, otherwisenull
.WidthCallback<DatasetContext>
LiningDataset. getPointHoverBorderWidthCallback()
Returns the point hover border width callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
LiningDataset. getPointHoverRadiusCallback()
Returns the point hover radius callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
LiningDataset. getPointRadiusCallback()
Returns the point radius callback, if set, otherwisenull
.RotationCallback<DatasetContext>
LiningDataset. getPointRotationCallback()
Returns the point rotation callback, if set, otherwisenull
.PointStyleCallback<DatasetContext>
BarDataset. getPointStyleCallback()
Returns the point style callback, if set, otherwisenull
.RadiusCallback<DatasetContext>
BubbleDataset. getRadiusCallback()
Returns the radius callback, if set, otherwisenull
.RotationCallback<DatasetContext>
BubbleDataset. getRotationCallback()
Returns the rotation callback, if set, otherwisenull
.Methods in org.pepstock.charba.client.data with parameters of type DatasetContext Modifier and Type Method 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.Method parameters in org.pepstock.charba.client.data with type arguments of type DatasetContext Modifier and Type Method 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
PieDataset. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback.void
PolarAreaDataset. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback.void
BarDataset. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)
Sets the border radius callback.void
PieDataset. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)
Sets the border radius callback.void
HoverDataset. setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)
Sets the border width callback.void
LiningDataset. 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
PieDataset. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback when element is hovered.void
PolarAreaDataset. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)
Sets the border join style callback when element is hovered.void
BarDataset. setHoverBorderRadius(BorderRadiusCallback<DatasetContext> hoverBorderRadiusCallback)
Sets the border radius callback, when hovered.void
HoverDataset. setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)
Sets the hover border width callback.void
LiningDataset. 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
BarDataset. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)
Sets the point style callback.void
BubbleDataset. setRadius(RadiusCallback<DatasetContext> radiusCallback)
Sets the radius callback.void
BubbleDataset. setRotation(RotationCallback<DatasetContext> rotationCallback)
Sets the rotation callback. -
Uses of DatasetContext in org.pepstock.charba.client.impl.charts
Method parameters in org.pepstock.charba.client.impl.charts with type arguments of type DatasetContext Modifier and Type Method Description void
MeterDataset. setBackgroundColor(ColorCallback<DatasetContext> backgroundColorCallback)
void
MeterDataset. setBorderColor(ColorCallback<DatasetContext> borderColorCallback)
void
MeterDataset. setHoverBackgroundColor(ColorCallback<DatasetContext> hoverBackgroundColorCallback)
void
MeterDataset. setHoverBorderColor(ColorCallback<DatasetContext> hoverBorderColorCallback)
-
Uses of DatasetContext in org.pepstock.charba.client.matrix
Methods in org.pepstock.charba.client.matrix that return types with arguments of type DatasetContext Modifier and Type Method Description BorderRadiusCallback<DatasetContext>
MatrixDataset. getBorderRadiusCallback()
Returns the callback to set the border radius (in pixels).Method parameters in org.pepstock.charba.client.matrix with type arguments of type DatasetContext Modifier and Type Method Description void
MatrixDataset. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)
Sets the callback to set the border radius (in pixels). -
Uses of DatasetContext in org.pepstock.charba.client.sankey
Methods in org.pepstock.charba.client.sankey that return types with arguments of type DatasetContext Modifier and Type Method Description ColorCallback<DatasetContext>
SankeyDataset. getColorFromCallback()
Returns the color "from" callback, if set, otherwisenull
.ColorCallback<DatasetContext>
SankeyDataset. getColorToCallback()
Returns the color "to" callback, if set, otherwisenull
.FontCallback<DatasetContext>
SankeyDataset. getFontCallback()
Returns the font callback, if set, otherwisenull
.Method parameters in org.pepstock.charba.client.sankey with type arguments of type DatasetContext Modifier and Type Method Description void
SankeyDataset. setColorFrom(ColorCallback<DatasetContext> colorCallback)
Sets the color "from" callback.void
SankeyDataset. setColorTo(ColorCallback<DatasetContext> colorCallback)
Sets the color "to" callback.void
SankeyDataset. setFont(FontCallback<DatasetContext> fontCallback)
Sets the font callback.
-