| Package | Description |
|---|---|
| org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
| org.pepstock.charba.client.colors |
Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns
for charts.
|
| 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.items |
Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Helpers.clipArea(Canvas canvas,
IsArea area)
Clips an area on the canvas context, using the
Context2dItem of the canvas. |
void |
Helpers.clipArea(Context2dItem context,
IsArea area)
Clips an area on the canvas context.
|
void |
Helpers.clipArea(IsChart chart,
IsArea area)
Clips an area on the canvas context, using the
Canvas of the chart. |
| Modifier and Type | Class and Description |
|---|---|
class |
Area
Contains the coordinates of an area.
Used inside the canvas object factory. |
| Modifier and Type | Class and Description |
|---|---|
class |
Clip
Defines how to clip relative to the chart area.
Positive value allows overflow, negative value clips that many pixels inside the chart area. If sets false, that means that CHART.JS will use chart area dimension.With false value, the properties will be:
Left is 0
Top is 0
Right is area right
Bottom is area bottom
|
| Modifier and Type | Class and Description |
|---|---|
class |
AxisItem
There are a number of configuration callbacks that can be used to change parameters in the scale at different points in the update process.
This is a wrapper of the CHART.JS item with all needed info about an axis. Implements all set methods to change java script object properties. |
class |
BaseBoxItem
Base object which maps the CHART.JS chart items which represents a box.
This is a wrapper of the CHART.JS item with all needed info. Implements all get methods to change java script object properties. |
class |
BaseBoxNodeItem
Base object which maps the CHART.JS chart items and represents main nodes of chart java script object.
This is a wrapper of the CHART.JS item with all needed info. Implements all get methods to change java script object properties. |
class |
ChartAreaNode
Object which maps the chart area item of CHART.JS chart java script object.
This is a wrapper of the CHART.JS item with all needed info. |
class |
LegendNode
Wrapper of legend node of CHART.JS.
This is a wrapper of legend node of Chart (of CHART.JS). |
class |
ScaleItem
Wraps the scale item of CHART JS chart.
This is a wrapper of scale of Chart (of CHART.JS). |
class |
SubtitleNode
Wrapper of subtitle node of CHART.JS.
This is a wrapper of subtitle node of Chart (of CHART.JS). |
class |
TitleNode
Wrapper of title node of CHART.JS.
This is a wrapper of title node of Chart (of CHART.JS). |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
IsArea.isConsistent(IsArea area)
Returns
true if the are is consistent, otherwise false. |