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 voidLine. setBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)Sets the border capstyle callback.voidLine. setBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)Sets the border dash callback.voidLine. setBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)Sets the border dash offset callback.voidArc. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidLine. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidArc. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)Sets the border radius callback.voidBar. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)Sets the border radius callback.voidPoint. setHitRadius(RadiusCallback<DatasetContext> hitRadiusCallback)Sets the hit radius callback.voidArc. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> hoverBorderJoinStyleCallback)Sets the hover border join style callback.voidBar. setHoverBorderRadius(BorderRadiusCallback<DatasetContext> hoverBorderRadiusCallback)Sets the border radius callback, when hovered.voidArc. setHoverOffset(OffsetCallback<DatasetContext> hoverOffsetCallback)Sets the offset callback, when hovered.voidPoint. setHoverRadius(RadiusCallback<DatasetContext> hoverRadiusCallback)Sets the hover radius callback.voidArc. setOffset(OffsetCallback<DatasetContext> offsetCallback)Sets the offset callback.voidBar. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)Sets the point style callback.voidPoint. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)Sets the point style callback.voidPoint. setRadius(RadiusCallback<DatasetContext> radiusCallback)Sets the radius callback.voidPoint. 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 DatasetContextDataset. 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 ObjectDataset. 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.DatasetData. 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 ObjectDataset. 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.voidDataset. setBackgroundColor(ColorCallback<DatasetContext> backgroundColorCallback)Sets the background color callback.voidLiningDataset. setBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)Sets the border cap style callback.voidDataset. setBorderColor(ColorCallback<DatasetContext> borderColorCallback)Sets the border color callback.voidLiningDataset. setBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)Sets the border dash callback.voidLiningDataset. setBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)Sets the border dash offset callback.voidLiningDataset. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidPieDataset. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidPolarAreaDataset. setBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback.voidBarDataset. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)Sets the border radius callback.voidPieDataset. setBorderRadius(BorderRadiusCallback<DatasetContext> borderRadiusCallback)Sets the border radius callback.voidHoverDataset. setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)Sets the border width callback.voidLiningDataset. setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)Sets the border width callback.voidBubbleDataset. setHitRadius(RadiusCallback<DatasetContext> hitRadiusCallback)Sets the hit radius callback.voidDataset. setHoverBackgroundColor(ColorCallback<DatasetContext> hoverBackgroundColorCallback)Sets the hover background color callback.voidLiningDataset. setHoverBorderCapStyle(CapStyleCallback<DatasetContext> borderCapStyleCallback)Sets the border cap style callback when element is hovered.voidDataset. setHoverBorderColor(ColorCallback<DatasetContext> hoverBorderColorCallback)Sets the hover border color callback.voidLiningDataset. setHoverBorderDash(BorderDashCallback<DatasetContext> borderDashCallback)Sets the border dash callback when element is hovered.voidLiningDataset. setHoverBorderDashOffset(BorderDashOffsetCallback<DatasetContext> borderDashOffsetCallback)Sets the border dash offset callback when element is hovered.voidLiningDataset. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback when element is hovered.voidPieDataset. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback when element is hovered.voidPolarAreaDataset. setHoverBorderJoinStyle(JoinStyleCallback<DatasetContext> borderJoinStyleCallback)Sets the border join style callback when element is hovered.voidBarDataset. setHoverBorderRadius(BorderRadiusCallback<DatasetContext> hoverBorderRadiusCallback)Sets the border radius callback, when hovered.voidHoverDataset. setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)Sets the hover border width callback.voidLiningDataset. setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)Sets the hover border width callback.voidPieDataset. setHoverOffset(OffsetCallback<DatasetContext> hoverOffsetCallback)Sets the offset callback, when dataset is hovered.voidBubbleDataset. setHoverRadius(RadiusCallback<DatasetContext> hoverRadiusCallback)Sets the hover radius callback.voidPieDataset. setOffset(OffsetCallback<DatasetContext> offsetCallback)Sets the offset callback.voidLiningDataset. setPointBackgroundColor(ColorCallback<DatasetContext> pointBackgroundColorCallback)Sets the point background color callback.voidLiningDataset. setPointBorderColor(ColorCallback<DatasetContext> pointBorderColorCallback)Sets the point border color callback.voidLiningDataset. setPointBorderWidth(WidthCallback<DatasetContext> pointBorderWidthCallback)Sets the point border width callback.voidLiningDataset. setPointHitRadius(RadiusCallback<DatasetContext> pointHitRadiusCallback)Sets the point hit radius callback.voidLiningDataset. setPointHoverBackgroundColor(ColorCallback<DatasetContext> pointHoverBackgroundColorCallback)Sets the point hover background color callback.voidLiningDataset. setPointHoverBorderColor(ColorCallback<DatasetContext> pointHoverBorderColorCallback)Sets the point hover border color callback.voidLiningDataset. setPointHoverBorderWidth(WidthCallback<DatasetContext> pointHoverBorderWidthCallback)Sets the point hover border width callback.voidLiningDataset. setPointHoverRadius(RadiusCallback<DatasetContext> pointHoverRadiusCallback)Sets the point hover radius callback.voidLiningDataset. setPointRadius(RadiusCallback<DatasetContext> pointRadiusCallback)Sets the point radius callback.voidLiningDataset. setPointRotation(RotationCallback<DatasetContext> pointRotationCallback)Sets the point rotation callback.voidBarDataset. setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)Sets the point style callback.voidBubbleDataset. setRadius(RadiusCallback<DatasetContext> radiusCallback)Sets the radius callback.voidBubbleDataset. 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 voidMeterDataset. setBackgroundColor(ColorCallback<DatasetContext> backgroundColorCallback)voidMeterDataset. setBorderColor(ColorCallback<DatasetContext> borderColorCallback)voidMeterDataset. setHoverBackgroundColor(ColorCallback<DatasetContext> hoverBackgroundColorCallback)voidMeterDataset. 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 voidMatrixDataset. 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.ColorCallback<DatasetContext>SankeyDataset. getHoverColorFromCallback()Returns the color "from" callback when hovered, if set, otherwisenull.ColorCallback<DatasetContext>SankeyDataset. getHoverColorToCallback()Returns the color "to" callback when hovered, if set, otherwisenull.Method parameters in org.pepstock.charba.client.sankey with type arguments of type DatasetContext Modifier and Type Method Description voidSankeyDataset. setColorFrom(ColorCallback<DatasetContext> colorCallback)Sets the color "from" callback.voidSankeyDataset. setColorTo(ColorCallback<DatasetContext> colorCallback)Sets the color "to" callback.voidSankeyDataset. setFont(FontCallback<DatasetContext> fontCallback)Sets the font callback.voidSankeyDataset. setHoverColorFrom(ColorCallback<DatasetContext> colorCallback)Sets the color "from" callback when hovered.voidSankeyDataset. setHoverColorTo(ColorCallback<DatasetContext> colorCallback)Sets the color "to" callback when hovered.
-