Package | Description |
---|---|
be.ceau.chart.javascript |
Classes for serializing to executable JavaScript
|
be.ceau.chart.options | |
be.ceau.chart.options.animation |
Classes for chart animation config.
|
be.ceau.chart.options.scales |
Scales in v2.0 of Chart.js are significantly more powerful, but also
different than those of v1.0.
|
be.ceau.chart.options.ticks |
Models for tick marks along axes.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaScriptFunction.Serializer.serialize(JavaScriptFunction value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
Modifier and Type | Method and Description |
---|---|
Callbacks |
Callbacks.setAfterBody(JavaScriptFunction afterBody)
Returns text to render after the body section.
|
Callbacks |
Callbacks.setAfterFooter(JavaScriptFunction afterFooter)
Text to render after the footer section.
|
Callbacks |
Callbacks.setAfterLabel(JavaScriptFunction afterLabel)
Returns text to render after an individual label.
|
Callbacks |
Callbacks.setAfterTitle(JavaScriptFunction afterTitle)
Returns text to render after the title.
|
Callbacks |
Callbacks.setBeforeBody(JavaScriptFunction beforeBody)
Returns text to render before the body section.
|
Callbacks |
Callbacks.setBeforeFooter(JavaScriptFunction beforeFooter)
Returns text to render before the footer section.
|
Callbacks |
Callbacks.setBeforeLabel(JavaScriptFunction beforeLabel)
Returns text to render before an individual label.
|
Callbacks |
Callbacks.setBeforeTitle(JavaScriptFunction beforeTitle)
Returns the text to render before the title.
|
Tooltips |
Tooltips.setCustom(JavaScriptFunction custom)
See section below
|
Callbacks |
Callbacks.setFooter(JavaScriptFunction footer)
Returns text to render as the footer of the tooltip.
|
LegendLabels |
LegendLabels.setGenerateLabels(JavaScriptFunction generateLabels)
Generates legend items for each thing in the legend.
|
Tooltips |
Tooltips.setItemSort(JavaScriptFunction itemSort)
Allows sorting of tooltip items.
|
Callbacks |
Callbacks.setLabel(JavaScriptFunction label)
Returns text to render for an individual item in the tooltip.
|
Callbacks |
Callbacks.setLabelColor(JavaScriptFunction labelColor)
Returns the colors to render for the tooltip item.
|
Callbacks |
Callbacks.setLabelTextColor(JavaScriptFunction labelTextColor)
Returns the colors for the text of the label for the tooltip item.
|
T |
Options.setLegendCallback(JavaScriptFunction legendCallback)
Default
function (chart) { } Function to generate a legend. |
PolarOptions |
PolarOptions.setLegendCallback(JavaScriptFunction legendCallback)
Generates the HTML legend via calls to generateLegend
|
T |
Options.setOnClick(JavaScriptFunction onClick)
Default
null Called if the event is of type 'mouseup' or 'click'. |
Legend |
Legend.setOnClick(JavaScriptFunction onClick)
Default
function(event, legendItem) {}
A callback that is called when a click is registered on top of a label item |
Hover |
Hover.setOnHover(JavaScriptFunction onHover)
Default
null Called when any of the events fire. |
T |
Options.setOnResize(JavaScriptFunction onResize)
Default
null Called when a resize occurs. |
Callbacks |
Callbacks.setTitle(JavaScriptFunction title)
Returns text to render as the title of the tooltip.
|
Modifier and Type | Method and Description |
---|---|
JavaScriptFunction |
Animation.getOnComplete() |
JavaScriptFunction |
Animation.getOnProgress() |
Modifier and Type | Method and Description |
---|---|
T |
Animation.setOnComplete(JavaScriptFunction onComplete)
Default
none |
T |
Animation.setOnProgress(JavaScriptFunction onProgress)
Default
none |
Modifier and Type | Method and Description |
---|---|
JavaScriptFunction |
Scale.getAfterBuildTicks() |
JavaScriptFunction |
Scale.getAfterCalculateTickRotation() |
JavaScriptFunction |
Scale.getAfterDataLimits() |
JavaScriptFunction |
Scale.getAfterFit() |
JavaScriptFunction |
Scale.getAfterSetDimensions() |
JavaScriptFunction |
Scale.getAfterTickToLabelConversion() |
JavaScriptFunction |
Scale.getAfterUpdate() |
JavaScriptFunction |
Scale.getBeforeBuildTicks() |
JavaScriptFunction |
Scale.getBeforeCalculateTickRotation() |
JavaScriptFunction |
Scale.getBeforeDataLimits() |
JavaScriptFunction |
Scale.getBeforeFit() |
JavaScriptFunction |
Scale.getBeforeSetDimensions() |
JavaScriptFunction |
Scale.getBeforeTickToLabelConversion() |
JavaScriptFunction |
Scale.getBeforeUpdate() |
JavaScriptFunction |
PointLabels.getCallback() |
Modifier and Type | Method and Description |
---|---|
T |
Scale.setAfterBuildTicks(JavaScriptFunction afterBuildTicks)
Callback that runs after ticks are created.
|
T |
Scale.setAfterCalculateTickRotation(JavaScriptFunction afterCalculateTickRotation)
Callback that runs after tick rotation is determined.
|
T |
Scale.setAfterDataLimits(JavaScriptFunction afterDataLimits)
Callback that runs after data limits are determined.
|
T |
Scale.setAfterFit(JavaScriptFunction afterFit)
Callback that runs after the scale fits to the canvas.
|
T |
Scale.setAfterSetDimensions(JavaScriptFunction afterSetDimensions)
Callback that runs after dimensions are set.
|
T |
Scale.setAfterTickToLabelConversion(JavaScriptFunction afterTickToLabelConversion)
Callback that runs after ticks are converted into strings.
|
T |
Scale.setAfterUpdate(JavaScriptFunction afterUpdate)
Callback that runs at the end of the update process.
|
T |
Scale.setBeforeBuildTicks(JavaScriptFunction beforeBuildTicks)
Callback that runs before ticks are created.
|
T |
Scale.setBeforeCalculateTickRotation(JavaScriptFunction beforeCalculateTickRotation)
Callback that runs before tick rotation is determined.
|
T |
Scale.setBeforeDataLimits(JavaScriptFunction beforeDataLimits)
Callback that runs before data limits are determined.
|
T |
Scale.setBeforeFit(JavaScriptFunction beforeFit)
Callback that runs before the scale fits to the canvas.
|
T |
Scale.setBeforeSetDimensions(JavaScriptFunction beforeSetDimensions)
Callback that runs before dimensions are set.
|
T |
Scale.setBeforeTickToLabelConversion(JavaScriptFunction beforeTickToLabelConversion)
Callback that runs before ticks are converted into strings.
|
T |
Scale.setBeforeUpdate(JavaScriptFunction beforeUpdate)
Callback called before the update process starts.
|
PointLabels |
PointLabels.setCallback(JavaScriptFunction callback)
Callback function to transform data label to axis label
|
Modifier and Type | Method and Description |
---|---|
JavaScriptFunction |
Ticks.getCallback() |
Modifier and Type | Method and Description |
---|---|
T |
Ticks.setCallback(JavaScriptFunction callback)
Returns the string representation of the tick value as it should be
displayed on the chart.
|
Copyright © 2020. All rights reserved.