Package | Description |
---|---|
org.pepstock.charba.client.annotation.callbacks |
Contains the
AnnotationPlugin.ID plugin callback interfaces to catch events. |
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
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.datalabels.callbacks |
Contains the
DataLabelsPlugin.ID plugin callback interfaces to configure the plugin itself. |
org.pepstock.charba.client.labels.callbacks |
Contains the
LabelsPlugin.ID plugin callback interfaces to configure the plugin itself. |
org.pepstock.charba.client.matrix.callbacks |
Contains all callbacks to configure the MATRIX controllers.
|
org.pepstock.charba.client.sankey.callbacks |
Contains all callbacks to configure the SANKEY controllers.
|
org.pepstock.charba.client.zoom.callbacks |
Contains the
ZoomPlugin.ID plugin callback interfaces to configure the plugin itself and to catch events. |
Modifier and Type | Interface and Description |
---|---|
interface |
AdjustScaleRangeCallback
Callback interface of
AnnotationPlugin.ID plugin to set adjustScaleRange property at runtime, to AbstractAnnotation . |
interface |
AdjustSizeCallback
Callback interface of
AnnotationPlugin.ID plugin to set xAdjust and yAdjust property at runtime, to AbstractAnnotation and
LineLabel . |
interface |
ContentCallback
Callback interface of
AnnotationPlugin.ID plugin to set content property at runtime to for LineLabel . |
interface |
DrawTimeCallback
Callback interface of
AnnotationPlugin.ID plugin to set drawTime property at runtime, in all annotations. |
interface |
ImageSizeCallback
Callback interface of
AnnotationPlugin.ID plugin to set width and height properties at runtime, to LineLabel .It can return a String or a Integer depending on you want to set a fixed size in pixels (by int) or a percentage (by string, for instance "50"%). |
interface |
LabelPositionCallback
|
interface |
PaddingSizeCallback
Callback interface of
AnnotationPlugin.ID plugin to set xPadding and yPadding property at runtime, to AbstractAnnotation and
LineLabel . |
interface |
ValueCallback
Callback interface of
AnnotationPlugin.ID plugin to set: xMin for BoxAnnotation , EllipseAnnotation and LineAnnotation
xMax for BoxAnnotation , EllipseAnnotation and LineAnnotation
yMin for BoxAnnotation , EllipseAnnotation and LineAnnotation
yMax for BoxAnnotation , EllipseAnnotation and LineAnnotation
xValue for PointAnnotation
yValue for PointAnnotation
value for LineAnnotation , infinitive line
endValue for LineAnnotation , infinitive line
properties at runtime. |
Modifier and Type | Interface and Description |
---|---|
interface |
AngleCallback
Callback interface to set
angle property of Arc at runtime. |
interface |
BarBorderWidthCallback
Callback interface to set whatever
borderWidth or hoverBorderWidth properties at runtime, for BarDataset and MatrixDataset . |
interface |
BaseCallback
Callback interface to set
base property at runtime for BarDataset . |
interface |
BorderAlignCallback
Callback interface to set
borderAlign property at runtime. |
interface |
BorderDashCallback<C extends ChartContext>
Callback interface to set
borderDash property at runtime. |
interface |
BorderDashOffsetCallback<C extends ChartContext>
Callback interface to set
borderDashOffset property at runtime. |
interface |
BorderRadiusCallback
Callback interface to set whatever
borderRadius property at runtime. |
interface |
BorderSkippedCallback
Callback interface to set
borderSkipped property at runtime. |
interface |
CapStyleCallback<C extends ChartContext>
Callback interface to set
borderCapStyle property at runtime. |
interface |
ColorCallback<C extends ChartContext>
Callback interface to set whatever
color property at runtime. |
interface |
CornerRadiusCallback<C extends ChartContext>
Callback interface to set
cornerRadius property at runtime. |
interface |
CountCallback
Callback interface to set
count property at runtime, for IsLinearTick instances. |
interface |
CubicInterpolationModeCallback
Callback interface to set
cubicInterpolationMode property at runtime. |
interface |
DelayCallback
Callback interface to set
delay property of Animation at runtime. |
interface |
DisplayCallback<C extends ChartContext>
Callback interface to set
display property at runtime. |
interface |
DurationCallback
Callback interface to set
duration property of Animation at runtime. |
interface |
EasingCallback
Callback interface to set
easing property of Animation at runtime. |
interface |
ElementAlignCallback<C extends ChartContext>
Callback interface to set
align property at runtime |
interface |
EnableBorderRadiusCallback
Callback interface to set
enableBorderRadius property of Bar at runtime. |
interface |
FillCallback
Callback interface to set
fill property at runtime.The result object can have one of following type: Fill
Boolean
Integer for AbsoluteDatasetIndexFill
String for RelativeDatasetIndexFill
|
interface |
FontCallback<C extends ChartContext>
Callback interface to set
font property at runtime to scale instance. |
interface |
FromCallback
Callback interface to set
from property of AnimationCollection at runtime. |
interface |
FullSizeCallback<C extends ChartContext>
Callback interface to set
fullSize property at runtime. |
interface |
JoinStyleCallback<C extends ChartContext>
Callback interface to set
borderJoinStyle property at runtime. |
interface |
LoopCallback
Callback interface to set
loop property of Animation at runtime. |
interface |
MaxTicksLimitCallback
Callback interface to set
maxTicksLimit property at runtime, for IsLinearTick instances. |
interface |
MeterFormatCallback
Interface to implement if wants to change the value to show inside of
MeterChart or GaugeChart . |
interface |
NumberFormatCallback
Callback interface to set a number format element at runtime.
|
interface |
OffsetCallback<C extends ChartContext>
Callback interface to set whatever
offset property at runtime. |
interface |
PaddingCallback<C extends ChartContext>
Callback interface to set a padding element at runtime.
|
interface |
PointStyleCallback
Callback interface to set
pointStyle property at runtime. |
interface |
PositionCallback<C extends ChartContext>
Callback interface to set
position property at runtime. |
interface |
PrecisionCallback
Callback interface to set
maxTicksLimit property at runtime, for IsLinearTick instances. |
interface |
RadiusCallback<C extends ChartContext>
Callback interface to set whatever
radius property at runtime. |
interface |
RotationCallback<C extends ChartContext>
Callback interface to set whatever
rotation property at runtime. |
interface |
ShowLabelBackdropCallback
Callback interface to set
showLabelBackdrop property at runtime to scale's ticks instance, RadialLinearTick . |
interface |
SimplePaddingCallback
Callback interface to set
padding property (not as object but only as number) at runtime to scale instance. |
interface |
SteppedCallback
Callback interface to set
stepped property at runtime. |
interface |
StepSizeCallback
Callback interface to set
stepSize property at runtime, for IsLinearTick instances. |
interface |
TextAlignCallback<C extends ChartContext>
Callback interface to set
textAlign property at runtime |
interface |
TextCallback<C extends ChartContext>
Callback interface to set
text property at runtime. |
interface |
ToCallback
Callback interface to set
to property of AnimationCollection at runtime. |
interface |
WidthCallback<C extends ChartContext>
Callback interface to set whatever
width property at runtime. |
Modifier and Type | Method and Description |
---|---|
static <T,C extends ChartContext> |
ScriptableUtils.getOptionValue(C context,
Scriptable<T,C> callback)
Returns the value of the property as result of callback (the same type).
|
static <T,C extends ChartContext> |
ScriptableUtils.getOptionValue(C context,
Scriptable<T,C> callback,
T defaultValue)
Returns the value of the property as result of callback (the same type), passing a default value.
|
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsColor(C context,
Scriptable<?,C> callback,
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.
By defaults, is able to manage also Pattern or CanvasPatternItem . |
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsColor(C context,
Scriptable<?,C> callback,
String defaultValue,
boolean hasPattern)
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.
|
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsFont(C context,
Scriptable<FontItem,C> callback,
IsDefaultFont defaultValue)
Returns the font item value as value of the property by invoking a callback which is typed to a font item.
|
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsPadding(C context,
Scriptable<PaddingItem,C> callback,
IsDefaultPadding defaultValue)
Returns the padding item value as value of the property by invoking a callback which is typed to a paddng item.
|
static <T extends Key,C extends ChartContext> |
ScriptableUtils.getOptionValueAsString(C context,
Scriptable<T,C> callback)
Returns the enumeration value as value of the property by invoking a callback which is typed to a key.
|
static <T extends Key,C extends ChartContext> |
ScriptableUtils.getOptionValueAsString(C context,
Scriptable<T,C> callback,
T defaultValue)
Returns the enumeration value of the property by invoking a callback which is typed to a key, passing a default value.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AlignCallback
Callback interface of
DataLabelsPlugin.ID plugin to set align property at runtime, using the plugin context. |
interface |
AnchorCallback
Callback interface of
DataLabelsPlugin.ID plugin to set anchor property at runtime, using the plugin context. |
interface |
ClampCallback
Callback interface of
DataLabelsPlugin.ID plugin to set clamp property at runtime, using the plugin context. |
interface |
ClipCallback
Callback interface of
DataLabelsPlugin.ID plugin to set clip property at runtime, using the plugin context. |
interface |
OpacityCallback
Callback interface of
DataLabelsPlugin.ID plugin to set opacity property at runtime, using the plugin context. |
interface |
TextShadowBlurCallback
Callback interface of
DataLabelsPlugin.ID plugin to set textShadowBlur property at runtime, using the plugin context. |
Modifier and Type | Interface and Description |
---|---|
interface |
RenderCallback
Callback interface of
LabelsPlugin.ID plugin to provide the item to be rendered as string or as image at runtime, using the arguments. |
Modifier and Type | Interface and Description |
---|---|
interface |
SizeCallback
Callback interface of MATRIX callback to set
width and height properties at runtime, to MatrixDataset . |
Modifier and Type | Interface and Description |
---|---|
interface |
ColorModeCallback
Callback interface of SANKEY callback to set
colorMode property at runtime, to SankeyDataset . |
Modifier and Type | Interface and Description |
---|---|
interface |
ModeCallback
Callback interface of
ZoomPlugin.ID plugin to set the mode (pan and zoom) directions at runtime. |