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.IDplugin (AKAchartjs-plugin-datalabels.js) for CHART.js.org.pepstock.charba.client.datalabels.callbacks Contains theDataLabelsPlugin.IDplugin callback interfaces to configure the plugin itself.org.pepstock.charba.client.datalabels.events Contains theDataLabelsPlugin.IDplugin 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.DisplayCallback<DataLabelsContext>LabelItem. getDisplayCallback()Returns the display 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.voidLabelItem. setBackgroundColor(ColorCallback<DataLabelsContext> backgroundColorCallback)Sets the background color callback.AbstractBuilder<T>AbstractBuilder. setBorderColor(ColorCallback<DataLabelsContext> borderColorCallback)Sets the border color callback.voidLabelItem. setBorderColor(ColorCallback<DataLabelsContext> borderColorCallback)Sets the border color callback.AbstractBuilder<T>AbstractBuilder. setBorderRadius(RadiusCallback<DataLabelsContext> borderRadiusCallback)Sets the border radius callback.voidLabelItem. setBorderRadius(RadiusCallback<DataLabelsContext> borderRadiusCallback)Sets the border radius callback.AbstractBuilder<T>AbstractBuilder. setBorderWidth(WidthCallback<DataLabelsContext> borderWidthCallback)Sets the border width callback.voidLabelItem. setBorderWidth(WidthCallback<DataLabelsContext> borderWidthCallback)Sets the border width callback.AbstractBuilder<T>AbstractBuilder. setColor(ColorCallback<DataLabelsContext> colorCallback)Sets the color callback.voidLabelItem. setColor(ColorCallback<DataLabelsContext> colorCallback)Sets the color callback.AbstractBuilder<T>AbstractBuilder. setDisplay(DisplayCallback<DataLabelsContext> displayCallback)Sets the display callback.voidLabelItem. setDisplay(DisplayCallback<DataLabelsContext> displayCallback)Sets the display callback.AbstractBuilder<T>AbstractBuilder. setFont(FontCallback<DataLabelsContext> fontCallback)Sets the font callback.voidLabelItem. setFont(FontCallback<DataLabelsContext> fontCallback)Sets the font callback.AbstractBuilder<T>AbstractBuilder. setOffset(OffsetCallback<DataLabelsContext> offsetCallback)Sets the offset callback.voidLabelItem. setOffset(OffsetCallback<DataLabelsContext> offsetCallback)Sets the offset callback.AbstractBuilder<T>AbstractBuilder. setPadding(PaddingCallback<DataLabelsContext> paddingCallback)Sets the padding callback.voidLabelItem. setPadding(PaddingCallback<DataLabelsContext> paddingCallback)Sets the padding callback.AbstractBuilder<T>AbstractBuilder. setRotation(RotationCallback<DataLabelsContext> rotationCallback)Sets the rotation callback.voidLabelItem. setRotation(RotationCallback<DataLabelsContext> rotationCallback)Sets the rotation callback.AbstractBuilder<T>AbstractBuilder. setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)Sets the text align callback.voidLabelItem. setTextAlign(TextAlignCallback<DataLabelsContext> textAlignCallback)Sets the text align callback.AbstractBuilder<T>AbstractBuilder. setTextShadowColor(ColorCallback<DataLabelsContext> textShadowColorCallback)Sets the text shadow color callback.voidLabelItem. setTextShadowColor(ColorCallback<DataLabelsContext> textShadowColorCallback)Sets the text shadow color callback.AbstractBuilder<T>AbstractBuilder. setTextStrokeColor(ColorCallback<DataLabelsContext> textStrokeColorCallback)Sets the text stroke color callback.voidLabelItem. setTextStrokeColor(ColorCallback<DataLabelsContext> textStrokeColorCallback)Sets the text stroke color callback.AbstractBuilder<T>AbstractBuilder. setTextStrokeWidth(WidthCallback<DataLabelsContext> textStrokeWidthCallback)Sets the text stroke width callback.voidLabelItem. 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 StringFormatterCallback. 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 booleanAbstractEventHandler. onClick(DataLabelsContext context, ChartEventContext event)booleanClickEventHandler. onClick(DataLabelsContext context, ChartEventContext event)Invoked to manage CLICK events on labels.booleanAbstractEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)booleanEnterEventHandler. onEnter(DataLabelsContext context, ChartEventContext event)Invoked to manage ENTER events on labels.booleanAbstractEventHandler. onLeave(DataLabelsContext context, ChartEventContext event)booleanLeaveEventHandler. 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 StringPercentageCallback. invoke(DataLabelsContext context, DataItem dataItem)booleanDataLabelsSelectionHandler. onClick(DataLabelsContext context, ChartEventContext event)booleanDataLabelsPointerHandler. onEnter(DataLabelsContext context, ChartEventContext event)booleanDataLabelsPointerHandler. onLeave(DataLabelsContext context, ChartEventContext event)
-