Uses of Class
org.pepstock.charba.client.datalabels.DataLabelsContext
-
Packages that use DataLabelsContext Package Description org.pepstock.charba.client.datalabels Contains all classes to activate theDataLabelsPlugin.ID
plugin (AKAchartjs-plugin-datalabels.js
) for CHART.js.org.pepstock.charba.client.datalabels.callbacks Contains theDataLabelsPlugin.ID
plugin callback interfaces to configure the plugin itself.org.pepstock.charba.client.datalabels.events Contains theDataLabelsPlugin.ID
plugin event handlers interfaces to catch event of plugin.org.pepstock.charba.client.impl.callbacks Contains some callbacks implementations, available out-of-the box. -
-
Uses of DataLabelsContext in org.pepstock.charba.client.datalabels
Methods in org.pepstock.charba.client.datalabels that return types with arguments of type DataLabelsContext Modifier and Type Method Description ColorCallback<DataLabelsContext>
LabelItem. getBackgroundColorCallback()
Returns the background color callback, if set, otherwisenull
.ColorCallback<DataLabelsContext>
LabelItem. getBorderColorCallback()
Returns the border color callback, if set, otherwisenull
.RadiusCallback<DataLabelsContext>
LabelItem. getBorderRadiusCallback()
Returns the border radius callback, if set, otherwisenull
.WidthCallback<DataLabelsContext>
LabelItem. getBorderWidthCallback()
Returns the border width callback, if set, otherwisenull
.ColorCallback<DataLabelsContext>
LabelItem. getColorCallback()
Returns the color callback, if set, otherwisenull
.FontCallback<DataLabelsContext>
LabelItem. getFontCallback()
Returns the font callback, if set, otherwisenull
.OffsetCallback<DataLabelsContext>
LabelItem. getOffsetCallback()
Returns the offset callback, if set, otherwisenull
.PaddingCallback<DataLabelsContext>
LabelItem. getPaddingCallback()
Returns the padding callback, if set, otherwisenull
.RotationCallback<DataLabelsContext>
LabelItem. getRotationCallback()
Returns the rotation callback, if set, otherwisenull
.TextAlignCallback<DataLabelsContext>
LabelItem. getTextAlignCallback()
Returns the text align callback, if set, otherwisenull
.ColorCallback<DataLabelsContext>
LabelItem. getTextShadowColorCallback()
Returns the text shadow color callback, if set, otherwisenull
.ColorCallback<DataLabelsContext>
LabelItem. getTextStrokeColorCallback()
Returns the text stroke color callback, if set, otherwisenull
.WidthCallback<DataLabelsContext>
LabelItem. getTextStrokeWidthCallback()
Returns the text stroke width callback, if set, otherwisenull
.Method parameters in org.pepstock.charba.client.datalabels with type arguments of type DataLabelsContext Modifier and Type Method Description AbstractBuilder<T>
AbstractBuilder. setBackgroundColor(ColorCallback<DataLabelsContext> backgroundColorCallback)
Sets the background color callback.void
LabelItem. setBackgroundColor(ColorCallback<DataLabelsContext> backgroundColorCallback)
Sets the background color callback.AbstractBuilder<T>
AbstractBuilder. setBorderColor(ColorCallback<DataLabelsContext> borderColorCallback)
Sets the border color callback.void
LabelItem. setBorderColor(ColorCallback<DataLabelsContext> borderColorCallback)
Sets the border color callback.AbstractBuilder<T>
AbstractBuilder. setBorderRadius(RadiusCallback<DataLabelsContext> borderRadiusCallback)
Sets the border radius callback.void
LabelItem. setBorderRadius(RadiusCallback<DataLabelsContext> borderRadiusCallback)
Sets the border radius callback.AbstractBuilder<T>
AbstractBuilder. setBorderWidth(WidthCallback<DataLabelsContext> borderWidthCallback)
Sets the border width callback.void
LabelItem. setBorderWidth(WidthCallback<DataLabelsContext> borderWidthCallback)
Sets the border width callback.AbstractBuilder<T>
AbstractBuilder. setColor(ColorCallback<DataLabelsContext> colorCallback)
Sets the color callback.void
LabelItem. setColor(ColorCallback<DataLabelsContext> colorCallback)
Sets the color callback.AbstractBuilder<T>
AbstractBuilder. setFont(FontCallback<DataLabelsContext> fontCallback)
Sets the font callback.void
LabelItem. setFont(FontCallback<DataLabelsContext> fontCallback)
Sets the font callback.AbstractBuilder<T>
AbstractBuilder. setOffset(OffsetCallback<DataLabelsContext> offsetCallback)
Sets the offset callback.void
LabelItem. setOffset(OffsetCallback<DataLabelsContext> offsetCallback)
Sets the offset callback.AbstractBuilder<T>
AbstractBuilder. setPadding(PaddingCallback<DataLabelsContext> paddingCallback)
Sets the padding callback.void
LabelItem. setPadding(PaddingCallback<DataLabelsContext> paddingCallback)
Sets the padding callback.AbstractBuilder<T>
AbstractBuilder. setRotation(RotationCallback<DataLabelsContext> rotationCallback)
Sets the rotation callback.void
LabelItem. setRotation(RotationCallback<DataLabelsContext> rotationCallback)
Sets the rotation callback.AbstractBuilder<T>
AbstractBuilder. setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)
Sets the text align callback.void
LabelItem. setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)
Sets the text align callback.AbstractBuilder<T>
AbstractBuilder. setTextShadowColor(ColorCallback<DataLabelsContext> textShadowColorCallback)
Sets the text shadow color callback.void
LabelItem. setTextShadowColor(ColorCallback<DataLabelsContext> textShadowColorCallback)
Sets the text shadow color callback.AbstractBuilder<T>
AbstractBuilder. setTextStrokeColor(ColorCallback<DataLabelsContext> textStrokeColorCallback)
Sets the text stroke color callback.void
LabelItem. setTextStrokeColor(ColorCallback<DataLabelsContext> textStrokeColorCallback)
Sets the text stroke color callback.AbstractBuilder<T>
AbstractBuilder. setTextStrokeWidth(WidthCallback<DataLabelsContext> textStrokeWidthCallback)
Sets the text stroke width callback.void
LabelItem. setTextStrokeWidth(WidthCallback<DataLabelsContext> textStrokeWidthCallback)
Sets the text stroke width callback. -
Uses of DataLabelsContext in org.pepstock.charba.client.datalabels.callbacks
Methods in org.pepstock.charba.client.datalabels.callbacks with parameters of type DataLabelsContext Modifier and Type Method Description String
FormatterCallback. invoke(DataLabelsContext context, DataItem dataItem)
Returns the formatted label value. -
Uses of DataLabelsContext in org.pepstock.charba.client.datalabels.events
Methods in org.pepstock.charba.client.datalabels.events with parameters of type DataLabelsContext Modifier and Type Method Description boolean
AbstractEventHandler. onClick(DataLabelsContext context, ChartEventContext event)
boolean
ClickEventHandler. onClick(DataLabelsContext context, ChartEventContext event)
Invoked to manage CLICK events on labels.boolean
AbstractEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)
boolean
EnterEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)
Invoked to manage ENTER events on labels.boolean
AbstractEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)
boolean
LeaveEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)
Invoked to manage LEAVE events on labels. -
Uses of DataLabelsContext in org.pepstock.charba.client.impl.callbacks
Methods in org.pepstock.charba.client.impl.callbacks with parameters of type DataLabelsContext Modifier and Type Method Description String
PercentageCallback. invoke(DataLabelsContext context, DataItem dataItem)
boolean
DataLabelsSelectionHandler. onClick(DataLabelsContext context, ChartEventContext event)
boolean
DataLabelsPointerHandler. onEnter(DataLabelsContext context, ChartEventContext event)
boolean
DataLabelsPointerHandler. onLeave(DataLabelsContext context, ChartEventContext event)
-