Modifier and Type | Method and Description |
---|---|
GenericJavaScriptObject |
TooltipLabelColor.getObject()
Returns the JavaScript object with properties
|
Modifier and Type | Class and Description |
---|---|
class |
JsObjectArrayList<E extends GenericJavaScriptObject>
An ordered collection (also known as a sequence).
|
Modifier and Type | Method and Description |
---|---|
static <E extends GenericJavaScriptObject> |
ArrayListHelper.build(E[] values)
Creates a JavaScript array list of generic javaScript objects.
|
protected <T extends GenericJavaScriptObject> |
GenericJavaScriptObject.getObjectArray(java.lang.String key)
Returns an array list (generic JavaScript objects) from the JavaScript object.
|
protected <T extends GenericJavaScriptObject> |
JavaScriptObjectContainer.setObjectArray(Key key,
JsObjectArrayList<T> list)
Sets a value (JavaScript array list) into embedded JavaScript object at specific property.
|
protected <T extends GenericJavaScriptObject> |
GenericJavaScriptObject.setObjectArray(java.lang.String key,
JsObjectArrayList<T> list)
Stores an array list (generic JavaScript objects) into the JavaScript object.
|
Modifier and Type | Method and Description |
---|---|
protected GenericJavaScriptObject |
JavaScriptObjectContainer.getJavaScriptObject()
Returns the JavaScript object instance
|
GenericJavaScriptObject |
JsArrayObjectImpl.remove(int index)
Removes the element at the specified position in this object.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<GenericJavaScriptObject> |
JavaScriptObjectContainer.getObjectArray(Key key)
Returns a value (generic java script object array list) into embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
void |
JsObjectArrayList.addAll(E[] values)
Loads an array of elements into the list
|
static <E extends GenericJavaScriptObject> |
ArrayListHelper.build(E[] values)
Creates a JavaScript array list of generic javaScript objects.
|
void |
JsArrayObjectImpl.insertAt(int index,
GenericJavaScriptObject value)
Inserts the specified element at the specified position in this object.
|
Constructor and Description |
---|
JavaScriptObjectContainer(GenericJavaScriptObject javaScriptObject)
Creates the object wrapping another java script object.
|
Constructor and Description |
---|
InternalScaleItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
Constructor and Description |
---|
AbstractItem(GenericJavaScriptObject javaScriptObject)
Builds the item with own java script object read from CHART.JS defaults.
Used for root element of configuration. |
Constructor and Description |
---|
Options(GenericJavaScriptObject javaScriptObject)
Creates the object using the java script object with the defaults provided by CHART.JS.
It's a root element. |
Modifier and Type | Class and Description |
---|---|
protected static class |
Scales.InternalJavaScriptObject
Is a generic java script object which enables the protected methods.
|
Modifier and Type | Method and Description |
---|---|
protected JsObjectArrayList<GenericJavaScriptObject> |
Scales.InternalJavaScriptObject.getAxis(Key key)
Returns the axes configuration.
|
Constructor and Description |
---|
Scale(GenericJavaScriptObject javaScriptObject)
Creates the object using the java script object with the defaults provided by CHART.JS.
It's a root element. |
Constructor and Description |
---|
AnimationItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
AxisItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
BaseBoxItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
BaseBoxNodeItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
ChartNode(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
DatasetItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
DatasetMetaItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
LegendItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
ScaleItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
SizeItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
TickItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
TooltipItem(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
TooltipItemArray(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
TooltipModel(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
Modifier and Type | Method and Description |
---|---|
protected GenericJavaScriptObject |
TooltipsCallbacks.onLabelColor(GenericJavaScriptObject object)
Called label color creation.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
TooltipsCallbacks.onAfterBody(GenericJavaScriptObject object)
Called after body creation.
|
protected java.lang.String[] |
TooltipsCallbacks.onAfterFooter(GenericJavaScriptObject object)
Called after footer creation.
|
protected java.lang.String |
TooltipsCallbacks.onAfterLabel(GenericJavaScriptObject object)
Called after label creation.
|
protected java.lang.String[] |
TooltipsCallbacks.onAfterTitle(GenericJavaScriptObject object)
Called after title creation.
|
protected java.lang.String[] |
TooltipsCallbacks.onBeforeBody(GenericJavaScriptObject object)
Called before body creation.
|
protected java.lang.String[] |
TooltipsCallbacks.onBeforeFooter(GenericJavaScriptObject object)
Called before footer creation.
|
protected java.lang.String |
TooltipsCallbacks.onBeforeLabel(GenericJavaScriptObject object)
Called before label creation.
|
protected java.lang.String[] |
TooltipsCallbacks.onBeforeTitle(GenericJavaScriptObject object)
Called before title creation.
|
protected void |
Legend.onClick(ChartNativeEvent event,
GenericJavaScriptObject item)
A callback that is called when a click event is registered on a label item
|
protected void |
BaseOptions.onClick(ChartNativeEvent event,
GenericJavaScriptObject metadata)
Called if the event is of type 'mouseup' or 'click'.
|
protected void |
Animation.onComplete(GenericJavaScriptObject item)
Callback called at the end of an animation.
|
protected void |
Tooltips.onCustom(GenericJavaScriptObject model)
Custom tooltips allow you to hook into the tooltip rendering process so that you can render the tooltip in your own
custom way.
Generally this is used to create an HTML tooltip instead of an oncanvas one. |
protected boolean |
Tooltips.onFilter(GenericJavaScriptObject item)
Called to allow filtering of tooltip items.
|
protected boolean |
LegendLabels.onFilter(GenericJavaScriptObject item)
Called to filter legend items out of the legend.
|
protected java.lang.String[] |
TooltipsCallbacks.onFooter(GenericJavaScriptObject object)
Called footer creation.
|
protected void |
Legend.onHover(ChartNativeEvent event,
GenericJavaScriptObject item)
A callback that is called when a 'mousemove' event is registered on top of a label item
|
protected void |
BaseOptions.onHover(ChartNativeEvent event,
GenericJavaScriptObject metadata)
Called when any of the events fire.
|
protected void |
BaseOptions.onItemClick(ChartNativeEvent event,
GenericJavaScriptObject object)
Called if the event is of type 'mouseup' or 'click'.
|
protected int |
Tooltips.onItemSort(GenericJavaScriptObject o1,
GenericJavaScriptObject o2)
Called to allow sorting of tooltip items.
|
protected java.lang.String |
TooltipsCallbacks.onLabel(GenericJavaScriptObject object)
Called label creation.
|
protected GenericJavaScriptObject |
TooltipsCallbacks.onLabelColor(GenericJavaScriptObject object)
Called label color creation.
|
protected java.lang.String |
TooltipsCallbacks.onLabelTextColor(GenericJavaScriptObject object)
Called text label color creation.
|
protected void |
Animation.onProgress(GenericJavaScriptObject item)
Callback called on each step of an animation.
|
protected void |
BaseOptions.onResize(GenericJavaScriptObject item)
Called when a resize occurs.
|
protected java.lang.String[] |
TooltipsCallbacks.onTitle(GenericJavaScriptObject object)
Called title creation
|
Modifier and Type | Method and Description |
---|---|
protected void |
Axis.onAfterBuildTicks(GenericJavaScriptObject item)
Callback that runs after ticks are created.
|
protected void |
Axis.onAfterCalculateTickRotation(GenericJavaScriptObject item)
Callback that runs after tick rotation is determined.
|
protected void |
Axis.onAfterDataLimits(GenericJavaScriptObject item)
Callback that runs after data limits are determined.
|
protected void |
Axis.onAfterFit(GenericJavaScriptObject item)
Callback that runs after the scale fits to the canvas.
|
protected void |
Axis.onAfterSetDimensions(GenericJavaScriptObject item)
Callback that runs after dimensions are set.
|
protected void |
Axis.onAfterTickToLabelConversion(GenericJavaScriptObject item)
Callback that runs after ticks are converted into strings.
|
protected void |
Axis.onAfterUpdate(GenericJavaScriptObject item)
Callback that runs at the end of the update process.
|
protected void |
Axis.onBeforeBuildTicks(GenericJavaScriptObject item)
Callback that runs before ticks are created.
|
protected void |
Axis.onBeforeCalculateTickRotation(GenericJavaScriptObject item)
Callback that runs before tick rotation is determined.
|
protected void |
Axis.onBeforeDataLimits(GenericJavaScriptObject item)
Callback that runs before data limits are determined.
|
protected void |
Axis.onBeforeFit(GenericJavaScriptObject item)
Callback that runs before the scale fits to the canvas.
|
protected void |
Axis.onBeforeSetDimensions(GenericJavaScriptObject item)
Callback that runs before dimensions are set.
|
protected void |
Axis.onBeforeTickToLabelConversion(GenericJavaScriptObject item)
Callback that runs before ticks are converted into strings.
|
protected void |
Axis.onBeforeUpdate(GenericJavaScriptObject item)
Callback called before the update process starts.
|
protected java.lang.String |
BaseTick.onCallback(GenericJavaScriptObject object)
Called to change the tick marks to include information about the data type.
|
Modifier and Type | Method and Description |
---|---|
JsObjectArrayList<GenericJavaScriptObject> |
Plugins.getArrayList()
Creates a java script array (mapped into a list) with all plugins added to the chart.
|