Package | Description |
---|---|
org.pepstock.charba.client.datalabels.callbacks |
Contains the DATALABELS plugin callback interfaces to configure the plugin itself.
|
org.pepstock.charba.client.datalabels.events |
Contains the DATALABELS plugin event handlers interfaces to configure the plugin itself.
|
org.pepstock.charba.client.impl.callbacks |
Contains some callbacks implementations, available out-of-the box.
|
Modifier and Type | Method and Description |
---|---|
Align |
AlignCallback.align(AbstractChart<?,?> chart,
Context context)
Returns the
align property at runtime, using the chart instance and the plugin context. |
Anchor |
AnchorCallback.anchor(AbstractChart<?,?> chart,
Context context)
Returns the
anchor property at runtime, using the chart instance and the plugin context. |
T |
BackgroundColorCallback.backgroundColor(AbstractChart<?,?> chart,
Context context)
Returns the
backgroundColor property at runtime, using the chart instance and the plugin context. |
T |
BorderColorCallback.borderColor(AbstractChart<?,?> chart,
Context context)
Returns the
borderColor property at runtime, using the chart instance and the plugin context. |
double |
BorderRadiusCallback.borderRadius(AbstractChart<?,?> chart,
Context context)
Returns the
borderRadius property at runtime, using the chart instance and the plugin context. |
int |
BorderWidthCallback.borderWidth(AbstractChart<?,?> chart,
Context context)
Returns the
borderWidth property at runtime, using the chart instance and the plugin context. |
boolean |
ClampCallback.clamp(AbstractChart<?,?> chart,
Context context)
Returns the
clamp property at runtime, using the chart instance and the plugin context. |
boolean |
ClipCallback.clip(AbstractChart<?,?> chart,
Context context)
Returns the
clip property at runtime, using the chart instance and the plugin context. |
T |
ColorCallback.color(AbstractChart<?,?> chart,
Context context)
Returns the
color property at runtime, using the chart instance and the plugin context. |
Display |
DisplayCallback.display(AbstractChart<?,?> chart,
Context context)
Returns the
display property at runtime, using the chart instance and the plugin context. |
Font |
FontCallback.font(AbstractChart<?,?> chart,
Context context)
Returns the font element at runtime, using the chart instance and the plugin context.
|
String |
FormatterCallback.format(AbstractChart<?,?> chart,
double value,
Context context)
Returns the
formatter property at runtime, using the chart instance and the plugin context. |
double |
OffsetCallback.offset(AbstractChart<?,?> chart,
Context context)
Returns the
offset property at runtime, using the chart instance and the plugin context. |
double |
OpacityCallback.opacity(AbstractChart<?,?> chart,
Context context)
Returns the
opacity property at runtime, using the chart instance and the plugin context. |
Padding |
PaddingCallback.padding(AbstractChart<?,?> chart,
Context context)
Returns the padding element at runtime, using the chart instance and the plugin context.
|
double |
RotationCallback.rotation(AbstractChart<?,?> chart,
Context context)
Returns the
rotation property at runtime, using the chart instance and the plugin context. |
TextAlign |
TextAlignCallback.textAlign(AbstractChart<?,?> chart,
Context context)
Returns the
textAlign property at runtime, using the chart instance and the plugin context. |
double |
TextShadowBlurCallback.textShadowBlur(AbstractChart<?,?> chart,
Context context)
Returns the
textShadowBlur property at runtime, using the chart instance and the plugin context. |
T |
TextShadowColorCallback.textShadowColor(AbstractChart<?,?> chart,
Context context)
Returns the
textShadowColor property at runtime, using the chart instance and the plugin context. |
T |
TextStrokeColorCallback.textStrokeColor(AbstractChart<?,?> chart,
Context context)
Returns the
textStrokeColor property at runtime, using the chart instance and the plugin context. |
int |
TextStrokeWidthCallback.textStrokeWidth(AbstractChart<?,?> chart,
Context context)
Returns the
textStrokeWidth property at runtime, using the chart instance and the plugin context. |
Modifier and Type | Method and Description |
---|---|
boolean |
ClickEventHandler.onClick(AbstractChart<?,?> chart,
Context context)
Invoked to manage CLICK events on labels.
|
boolean |
AbstractEventHandler.onClick(AbstractChart<?,?> chart,
Context context) |
boolean |
EnterEventHandler.onEnter(AbstractChart<?,?> chart,
Context context)
Invoked to manage ENTER events on labels.
|
boolean |
AbstractEventHandler.onEnter(AbstractChart<?,?> chart,
Context context) |
boolean |
LeaveEventHandler.onLeave(AbstractChart<?,?> chart,
Context context)
Invoked to manage LEAVE events on labels.
|
boolean |
AbstractEventHandler.onLeave(AbstractChart<?,?> chart,
Context context) |
Modifier and Type | Method and Description |
---|---|
static double |
Percentage.compute(AbstractChart<?,?> chart,
double value,
Context context)
Computes the percentage of the value based on the data of datasets.
|
static double |
Percentage.compute(AbstractChart<?,?> chart,
double value,
Context context,
boolean stacked)
Computes the percentage of the value based on the data of datasets.
|
String |
PercentageCallback.format(AbstractChart<?,?> chart,
double value,
Context context) |
boolean |
DataLabelsSelectionHandler.onClick(AbstractChart<?,?> chart,
Context context) |
boolean |
DataLabelsPointerHandler.onClick(AbstractChart<?,?> chart,
Context context) |
boolean |
DataLabelsPointerHandler.onEnter(AbstractChart<?,?> chart,
Context context) |
boolean |
DataLabelsPointerHandler.onLeave(AbstractChart<?,?> chart,
Context context) |