Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
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.datalabels |
Contains all classes to activate the
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. |
org.pepstock.charba.client.labels |
Contains all classes to use
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js ) available for CHART.JS. |
org.pepstock.charba.client.matrix |
Contains all classes to activate the Matrix controller (AKA
chartjs-chart-matrix.js ) for CHART.js. |
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
org.pepstock.charba.client.sankey |
Contains all classes to activate the Sankey controller (AKA
chartjs-chart-sankey.js ) for CHART.js. |
org.pepstock.charba.client.treemap |
Contains all classes to activate the TreeMap controller (AKA
chartjs-chart-treemap.js ) for CHART.js. |
org.pepstock.charba.client.zoom |
Contains all classes to activate the
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
void |
UpdateConfiguration.setDelay(NativeCallback delayCallback) |
void |
UpdateConfiguration.setDuration(NativeCallback durationCallback) |
void |
UpdateConfiguration.setEasing(NativeCallback easingCallback) |
void |
UpdateConfiguration.setLoop(NativeCallback loopCallback) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractAnnotation.setAdjustScaleRange(NativeCallback adjustScaleRangeCallback)
Sets the callback to set whether the scale range should be adjusted if this annotation is out of range.
|
void |
AbstractAnnotation.setBorderColor(NativeCallback borderColorCallback)
Sets the callback to set the color of the border of annotation.
|
void |
AbstractAnnotation.setBorderDash(NativeCallback borderDashCallback)
Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the
pattern.
|
void |
AbstractAnnotation.setBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the callback to set the line dash pattern offset.
|
void |
AbstractAnnotation.setBorderWidth(NativeCallback borderWidthCallback)
Sets the callback to set the color of the width of the border in pixels.
|
void |
LineLabel.setColor(NativeCallback colorCallback)
Sets the callback to set the color of the text of label.
|
void |
LineLabel.setContent(NativeCallback contentCallback)
Sets the callback to set the text to display in label as list.
|
void |
LineLabel.setCornerRadius(NativeCallback cornerRadiusCallback)
Sets the callback to set the corner radius.
|
void |
BoxAnnotation.setCornerRadius(NativeCallback cornerRadiusCallback)
Sets the callback to set the corner radius.
|
void |
LineLabel.setDisplay(NativeCallback displayCallback)
Sets the callback to set whether the label should be displayed.
|
void |
AbstractAnnotation.setDisplay(NativeCallback displayCallback)
Sets the callback to set whether the annotation should be displayed.
|
void |
AbstractAnnotation.setDrawTime(NativeCallback drawTimeCallback)
Sets the callback to set the draw time which defines when the annotations are drawn.
|
void |
LineAnnotation.setEndValue(NativeCallback valueCallback)
Sets the callback to set the data value at which the line draw should end.
|
void |
LineLabel.setFont(NativeCallback fontCallback)
Sets the the font callback.
|
void |
LineLabel.setImageHeight(NativeCallback imageSizeCallback)
Sets the callback to set the height of label content, when is set as
Img , in percentage (format is "{n}%") in order to scale the image when drawn. |
void |
LineLabel.setImageWidth(NativeCallback imageSizeCallback)
Sets the callback to set the width of label content, when is set as
Img , in percentage (format is "{n}%") in order to scale the image when drawn. |
void |
LineLabel.setPosition(NativeCallback positionCallback)
Sets the callback to set the anchor position of label on line.
|
void |
PointAnnotation.setRadius(NativeCallback radiusCallback)
Sets the callback to set the radius.
|
void |
LineLabel.setRotation(NativeCallback rotationCallback)
Sets the callback to set the rotation of label in degrees.
|
void |
LineLabel.setTextAlign(NativeCallback alignCallback)
Sets the callback to set the horizontal alignment of the label text when multiple lines.
|
void |
LineAnnotation.setValue(NativeCallback valueCallback)
Sets the callback to set the left edge of the box, in units along the x axis.
|
void |
LineLabel.setXAdjust(NativeCallback adjustCallback)
Sets the callback to set the adjustment along y-axis (top-bottom) of label relative to above number (can be negative).
|
void |
LineLabel.setXPadding(NativeCallback paddingCallback)
Sets the callback to set the padding of label to add left and right.
|
void |
PointAnnotation.setXValue(NativeCallback valueCallback)
Sets the callback to set the data X value to draw the line at.
|
void |
LineLabel.setYAdjust(NativeCallback adjustCallback)
Sets the callback to set the adjustment along x-axis (left-right) of label relative to above number (can be negative).
|
void |
LineLabel.setYPadding(NativeCallback paddingCallback)
Sets the callback to set the padding of label to add top and bottom.
|
void |
PointAnnotation.setYValue(NativeCallback valueCallback)
Sets the callback to set the data Y value to draw the line at.
|
Modifier and Type | Method and Description |
---|---|
static NativeCallback |
NativeCallback.create(String code)
Creates a callback in java script.
All options in the configuration which can be set like scriptable, can be set with a native callback. The callback can receive only 1 argument, the scriptable context. |
static NativeCallback |
NativeCallback.create(String argument,
String code)
Creates a callback in java script.
All options in the configuration which can be set like scriptable, can be set with a native callback. The callback can receive only 1 argument, the scriptable context. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNode.setInternalCallbackToModel(AbstractNode model,
Key key,
NativeCallback callback)
Adds a native callback function to a model at the specific key.
|
protected void |
NativeObjectContainer.setValue(Key key,
NativeCallback value)
Sets a value (native callback function) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
NativeCallback value)
Sets a value (callback function) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
NativeCallback value)
Sets a value (callback function) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
void |
Arc.setAngle(NativeCallback angleCallback)
Sets the angle callback.
|
void |
RadialPointLabels.setBackdropColor(NativeCallback backdropColorCallback)
Sets the the backdrop color callback.
|
void |
Segment.setBackgroundColor(NativeCallback backgroundColorCallback)
Sets the background color callback.
|
void |
Arc.setBorderAlign(NativeCallback borderAlignCallback)
Sets the border align callback.
|
void |
Segment.setBorderCapStyle(NativeCallback borderCapStyleCallback)
Sets the border cap-style callback.
|
void |
Line.setBorderCapStyle(NativeCallback borderCapStyleCallback)
Sets the border capstyle callback.
|
void |
Segment.setBorderColor(NativeCallback borderColorCallback)
Sets the border color callback.
|
void |
Segment.setBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback.
|
void |
RadialAngleLines.setBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback when element is hovered.
|
void |
Line.setBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback.
|
void |
Segment.setBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the border dash callback.
|
void |
Line.setBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the border dash offset callback.
|
void |
Segment.setBorderJoinStyle(NativeCallback borderJoinStyleCallback)
Sets the border join-style callback.
|
void |
Line.setBorderJoinStyle(NativeCallback borderJoinStyleCallback)
Sets the border join style callback.
|
void |
Bar.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the border radius callback.
|
void |
Arc.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the border radius callback.
|
void |
Bar.setBorderSkipped(NativeCallback borderSkippedCallback)
Sets the border skipped callback.
|
void |
Segment.setBorderWidth(NativeCallback borderWidthCallback)
Sets the border width callback.
|
void |
RadialPointLabels.setColor(NativeCallback colorCallback)
Sets the the color callback.
|
default void |
IsLinearTick.setCount(NativeCallback countCallback)
Sets the count callback instance.
|
void |
Line.setCubicInterpolationMode(NativeCallback cubicInterpolationModeCallback)
Sets the cubic interpolation mode callback.
|
void |
Animation.setDelay(NativeCallback delayCallback)
Sets the delay before starting the animations by a callback.
|
void |
Animation.setDuration(NativeCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.
|
void |
Animation.setEasing(NativeCallback easingCallback)
Sets the animation easing by a callback.
|
void |
Bar.setEnableBorderRadius(NativeCallback enableBorderRadiusCallback)
Sets the enable border radius callback.
|
void |
Line.setFill(NativeCallback fillCallback)
Sets the fill callback.
|
void |
RadialPointLabels.setFont(NativeCallback fontCallback)
Sets the the font callback.
|
void |
Point.setHitRadius(NativeCallback hitRadiusCallback)
Sets the hit radius callback.
|
void |
Bar.setHoverBorderRadius(NativeCallback hoverBorderRadiusCallback)
Sets the border radius callback, when hovered.
|
void |
Arc.setHoverOffset(NativeCallback hoverOffsetCallback)
Sets the offset callback, when hovered.
|
void |
Point.setHoverRadius(NativeCallback hoverRadiusCallback)
Sets the hover radius callback.
|
void |
Animation.setLoop(NativeCallback loopCallback)
Sets to loop the animations endlessly by a callback.
|
default void |
IsLinearTick.setMaxTicksLimit(NativeCallback maxTicksLimitCallback)
Sets the maxTicksLimit callback instance.
|
default void |
IsNumericTick.setNumberFormat(NativeCallback numberFormatCallback)
Sets the number formatting options.
|
void |
Arc.setOffset(NativeCallback offsetCallback)
Sets the offset callback.
|
void |
Layout.setPadding(NativeCallback paddingCallback)
Sets the padding callback.
|
void |
RadialPointLabels.setPadding(NativeCallback paddingCallback)
Sets the the padding callback.
|
void |
Bar.setPointStyle(NativeCallback pointStyleCallback)
Sets the point style callback.
|
void |
Point.setPointStyle(NativeCallback pointStyleCallback)
Sets the point style callback.
|
default void |
IsLinearTick.setPrecision(NativeCallback precisionCallback)
Sets the precision callback instance.
|
void |
Point.setRadius(NativeCallback radiusCallback)
Sets the radius callback.
|
void |
Point.setRotation(NativeCallback rotationCallback)
Sets the rotation callback.
|
void |
Line.setStepped(NativeCallback steppedCallback)
Sets the stepped callback.
|
default void |
IsLinearTick.setStepSize(NativeCallback stepSizeCallback)
Sets the stepSize callback instance.
|
void |
Grid.setTickBorderDashOffset(NativeCallback tickBorderDashOffsetCallback)
Sets the tick border dash offset callback instance.
|
void |
Grid.setTickColor(NativeCallback tickColorCallback)
Sets the tick color callback instance.
|
void |
Grid.setTickWidth(NativeCallback tickWidthCallback)
Sets the tick width callback instance.
|
Modifier and Type | Method and Description |
---|---|
void |
Dataset.setBackgroundColor(NativeCallback backgroundColorCallback)
Sets the background color callback.
|
void |
BarDataset.setBase(NativeCallback baseCallback)
Sets the base callback.
|
void |
LiningDataset.setBorderCapStyle(NativeCallback borderCapStyleCallback)
Sets the border cap style callback.
|
void |
Dataset.setBorderColor(NativeCallback borderColorCallback)
Sets the border color callback.
|
void |
LiningDataset.setBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback.
|
void |
LiningDataset.setBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the border dash offset callback.
|
void |
LiningDataset.setBorderJoinStyle(NativeCallback borderJoinStyleCallback)
Sets the border join style callback.
|
void |
BarDataset.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the border radius callback.
|
void |
PieDataset.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the border radius callback.
|
void |
BarDataset.setBorderSkipped(NativeCallback borderSkippedCallback)
Sets the border skipped callback.
|
void |
HoverDataset.setBorderWidth(NativeCallback borderWidthCallback)
Sets the border width callback.
|
void |
LiningDataset.setBorderWidth(NativeCallback borderWidthCallback)
Sets the border width callback.
|
void |
BarDataset.setBorderWidth(NativeCallback borderWidthCallback)
Sets the border width callback.
|
void |
LineDataset.setCubicInterpolationMode(NativeCallback cubicInterpolationModeCallback)
Sets the border join style callback.
|
void |
BarDataset.setEnableBorderRadius(NativeCallback enableBorderRadiusCallback)
Sets the enable border radius callback.
|
void |
LiningDataset.setFill(NativeCallback fillCallback)
Sets the fill callback.
|
void |
ScatterDataset.setFill(NativeCallback fillCallback) |
void |
BubbleDataset.setHitRadius(NativeCallback hitRadiusCallback)
Sets the hit radius callback.
|
void |
Dataset.setHoverBackgroundColor(NativeCallback hoverBackgroundColorCallback)
Sets the hover background color callback.
|
void |
LiningDataset.setHoverBorderCapStyle(NativeCallback borderCapStyleCallback)
Sets the border cap style callback when element is hovered.
|
void |
Dataset.setHoverBorderColor(NativeCallback hoverBorderColorCallback)
Sets the hover border color callback.
|
void |
LiningDataset.setHoverBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback when element is hovered.
|
void |
LiningDataset.setHoverBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the border dash offset callback when element is hovered.
|
void |
LiningDataset.setHoverBorderJoinStyle(NativeCallback borderJoinStyleCallback)
Sets the border join style callback when element is hovered.
|
void |
BarDataset.setHoverBorderRadius(NativeCallback hoverBorderRadiusCallback)
Sets the border radius callback, when hovered.
|
void |
LiningDataset.setHoverBorderWidth(NativeCallback hoverBorderWidthCallback)
Sets the hover border width callback.
|
void |
BarDataset.setHoverBorderWidth(NativeCallback hoverBorderWidthCallback)
Sets the hover border width callback.
|
void |
PieDataset.setHoverOffset(NativeCallback hoverOffsetCallback)
Sets the offset callback, when dataset is hovered.
|
void |
BubbleDataset.setHoverRadius(NativeCallback hoverRadiusCallback)
Sets the hover radius callback.
|
void |
PieDataset.setOffset(NativeCallback offsetCallback)
Sets the offset callback.
|
void |
LiningDataset.setPointBackgroundColor(NativeCallback pointBackgroundColorCallback)
Sets the point background color callback.
|
void |
LiningDataset.setPointBorderColor(NativeCallback pointBorderColorCallback)
Sets the point border color callback.
|
void |
LiningDataset.setPointBorderWidth(NativeCallback pointBorderWidthCallback)
Sets the point border width callback.
|
void |
LiningDataset.setPointHitRadius(NativeCallback pointHitRadiusCallback)
Sets the point hit radius callback.
|
void |
LiningDataset.setPointHoverBackgroundColor(NativeCallback pointHoverBackgroundColorCallback)
Sets the point hover background color callback.
|
void |
LiningDataset.setPointHoverBorderColor(NativeCallback pointHoverBorderColorCallback)
Sets the point hover border color callback.
|
void |
LiningDataset.setPointHoverBorderWidth(NativeCallback pointHoverBorderWidthCallback)
Sets the point hover border width callback.
|
void |
LiningDataset.setPointHoverRadius(NativeCallback pointHoverRadiusCallback)
Sets the point hover radius callback.
|
void |
LiningDataset.setPointRadius(NativeCallback pointRadiusCallback)
Sets the point radius callback.
|
void |
LiningDataset.setPointRotation(NativeCallback pointRotationCallback)
Sets the point rotation callback.
|
void |
BarDataset.setPointStyle(NativeCallback pointStyleCallback)
Sets the point style callback.
|
void |
BubbleDataset.setRadius(NativeCallback radiusCallback)
Sets the radius callback.
|
void |
BubbleDataset.setRotation(NativeCallback rotationCallback)
Sets the rotation callback.
|
void |
LineDataset.setStepped(NativeCallback steppedCallback)
Sets the stepped callback.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelItem.setAlign(NativeCallback alignCallback)
Sets the align callback.
|
void |
LabelItem.setAnchor(NativeCallback anchorCallback)
Sets the anchor callback.
|
void |
LabelItem.setBackgroundColor(NativeCallback backgroundColorCallback)
Sets the background color callback.
|
void |
LabelItem.setBorderColor(NativeCallback borderColorCallback)
Sets the border color callback.
|
void |
LabelItem.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the border radius callback.
|
void |
LabelItem.setBorderWidth(NativeCallback borderWidthCallback)
Sets the border width callback.
|
void |
LabelItem.setClamp(NativeCallback clampCallback)
Sets the clamp callback.
|
void |
LabelItem.setClip(NativeCallback clipCallback)
Sets the clip callback.
|
void |
LabelItem.setColor(NativeCallback colorCallback)
Sets the color callback.
|
void |
LabelItem.setDisplay(NativeCallback displayCallback)
Sets the display callback.
|
void |
LabelItem.setFont(NativeCallback fontCallback)
Sets the the font callback.
|
void |
LabelItem.setOffset(NativeCallback offsetCallback)
Sets the offset callback.
|
void |
LabelItem.setOpacity(NativeCallback opacityCallback)
Sets the opacity callback.
|
void |
LabelItem.setPadding(NativeCallback paddingCallback)
Sets the padding callback.
|
void |
LabelItem.setRotation(NativeCallback rotationCallback)
Sets the rotation callback.
|
void |
LabelItem.setTextAlign(NativeCallback textAlignCallback)
Sets the text align callback.
|
void |
LabelItem.setTextShadowBlur(NativeCallback textShadowBlurCallback)
Sets the text shadow blur callback.
|
void |
LabelItem.setTextShadowColor(NativeCallback textShadowColorCallback)
Sets the text shadow color callback.
|
void |
LabelItem.setTextStrokeColor(NativeCallback textStrokeColorCallback)
Sets the text stroke color callback.
|
void |
LabelItem.setTextStrokeWidth(NativeCallback textStrokeWidthCallback)
Sets the text stroke width callback.
|
Modifier and Type | Method and Description |
---|---|
void |
Label.setColor(NativeCallback colorCallback)
Sets the font color callback.
|
void |
Label.setFont(NativeCallback fontCallback)
Sets the font callback.
|
void |
Label.setRender(NativeCallback renderCallback)
Sets the render callback.
|
Modifier and Type | Method and Description |
---|---|
void |
MatrixDataset.setBorderRadius(NativeCallback borderRadiusCallback)
Sets the callback to set the border radius (in pixels).
|
void |
MatrixDataset.setBorderWidth(NativeCallback borderWidthCallback)
Sets the callback to set the border width (in pixels).
|
void |
MatrixDataset.setHeight(NativeCallback heightCallback)
Sets the height callback to set the height of matrix element in pixels.
|
void |
MatrixDataset.setHoverBorderWidth(NativeCallback hoverBorderWidthCallback)
Sets the callback to set the border width (in pixels), when hovered.
|
void |
MatrixDataset.setWidth(NativeCallback widthCallback)
Sets the width callback to set the width of matrix element in pixels.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedOptions.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
NativeCallback callback)
Adds a native callback function to a element node instance.
|
void |
ExtendedScale.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
NativeCallback callback)
Adds a native callback function to a element node instance.
|
protected void |
AbstractModel.setCallbackToModel(AbstractNode model,
Key key,
NativeCallback callback)
Adds a native callback function to a model at the specific key.
|
void |
IsAnimation.setDelay(NativeCallback delayCallback)
Sets the delay before starting the animations by a callback.
|
void |
IsAnimation.setDuration(NativeCallback durationCallback)
Sets the number of milliseconds an animation takes by a callback.
|
void |
IsAnimation.setEasing(NativeCallback easingCallback)
Sets the animation easing by a callback.
|
void |
IsScriptableFontProvider.setFont(NativeCallback fontCallback)
Sets the font callback.
|
void |
AnimationCollection.setFrom(NativeCallback fromCallback)
Sets the start value for the animation by a callback.
|
void |
IsAnimation.setLoop(NativeCallback loopCallback)
Sets to loop the animations endlessly by a callback.
|
void |
IsScriptablePaddingProvider.setPadding(NativeCallback paddingCallback)
Sets the padding callback.
|
void |
AnimationCollection.setTo(NativeCallback toCallback)
Sets the end value for the animation by a callback.
|
Modifier and Type | Method and Description |
---|---|
void |
SankeyDataset.setColorFrom(NativeCallback colorCallback)
Sets the color "from" callback.
|
void |
SankeyDataset.setColorMode(NativeCallback colorModeCallback)
Sets the color mode callback.
|
void |
SankeyDataset.setColorTo(NativeCallback colorCallback)
Sets the color "to" callback.
|
void |
SankeyDataset.setFont(NativeCallback fontCallback)
Sets the font callback.
|
void |
SankeyDataset.setPadding(NativeCallback paddingCallback)
Sets the padding callback.
|
void |
SankeyDataset.setSize(NativeCallback sizeCallback)
Sets the size callback.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeMapDataset.setColor(NativeCallback colorCallback)
Sets the color callback.
|
void |
TreeMapDataset.setHoverColor(NativeCallback hoverColorCallback)
Sets the hover color callback.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfigurationItem.setMode(NativeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime.
|
void |
AbstractConfigurationItem.setOverScaleMode(NativeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime, which of the enabled zooming directions should only be available when the mouse cursor
is over one of scale
|