Skip to main content
Version: 5.5

Requirements

Charba is built on JDK 11 (as of version 5).

Charba is leveraging on JSINTEROP method to integrate javascript objects and needs the jsinterop-annotations.

Charba has got also a dependency with GWT Web toolkit, when the GWT distribution (which is containing chart widgets and code splitting capabilities) is used.

Charba has got embedded Chart.JS, currently the minified distribution.

Even if Chart.JS leaves the users to select a date adapter, Charba embeds only Luxon as specific date time library, needed to use time or time series axes, because Charba (and Chart.JS) introduces the internationalization and only Luxon can use the browser's INTL platform.

Charba has got embedded Luxon and the specific Chart.JS adapter.

Furthermore Charba has embedded a set of Chart.JS plugins and controllers in order to enrich own features:

Charba has got embedded ML.js to enable some regressions models as part of machine learning tools.

To enable the minifying of javascript objects, not provided out-of-the-box, Charba needs also Google Closure Compiler, invoked only in Ant build.xml.

See here the license matrix.

ComponentVersionLicense
JSInterop Annotations2.0.0Apache 2.0
GWT Web Toolkit2.9.0Apache 2.0
Google Closure Compilerv20220719Apache 2.0
Chart.JS3.9.1MIT
Chart.JS Luxon adapter1.2.0MIT
Luxon3.0.1MIT
DataLabels2.1.0MIT
Zoom1.2.1MIT
HammerJS2.0.8MIT
Annotation2.0.0MIT
Gradient0.5.0MIT
Chart Geo3.8.1MIT
Chart Treemap2.0.2MIT
Chart Matrix1.1.1MIT
Chart Sankey0.9.0MIT
ML.js6.0.0MIT

Browser support

All modern and up-to-date browsers are supported, including, but not limited to:

  • Chrome
  • Edge
  • Firefox
  • Safari

As of version 3, Chart.JS has dropped Internet Explorer 11 support, and then Charba has dropped as well, as of version 4.

For more information about browser support, see the details here, where the filter is which browser can support ES6 classes.

Components matrix

The following matrixes are showing the dependencies with version of components which are released in all Charba versions.

Java

CharbaJDKJsInterop
Base
JsInterop
Annotations
GWT Web
toolkit(1)
Google
Closure
Compiler
Google
Closure
Stylesheets(2)
5.511-2.0.02.9.0v20220719-
5.411-2.0.02.9.0v202206011.5.0
5.311-2.0.02.9.0v202203011.5.0
5.211-2.0.02.9.0v202203011.5.0
5.111-2.0.02.9.0v202202021.5.0
5.011-2.0.02.9.0v202110061.5.0
4.28-2.0.02.9.0v202108081.5.0
4.18-2.0.02.9.0v20210601-
4.08-2.0.02.9.0v20210505-
3.381.0.02.0.02.8.2v20201006-
3.281.0.02.0.02.8.2v20200504-
3.181.0.02.0.02.8.2v20200224-
3.081.0.02.0.02.8.2v20200204-
2.88-2.0.02.8.2v20200101-
2.78-1.0.22.8.2v20191111-
2.68-1.0.22.8.2v20190929-
2.58-1.0.22.8.2v20190415-
2.48-1.0.22.8.2v20190325-
2.38-1.0.22.8.2v20190301-
2.28-1.0.22.8.2v20190301-
2.18-1.0.22.8.2--
2.08-1.0.22.8.2--
1.78--2.8.2--
1.68--2.8.2--
1.58--2.8.2--
1.48--2.8.2--
1.38--2.8.2--
1.28--2.8.2--
1.18--2.8.2--
1.08--2.8.2--

(1) even if Charba maintains the dependency with GWT Web toolkit version 2.8.2, it has been successfully tested and works with GWT version 2.9.0. As of Charba version 4.0, there is the dependency with GWT version 2.9.0 but it is continuing working with GWT 2.8.2. As of Charba version 5.5 it has been successfully tested and works with GWT version 2.10.0

(2) as of Charba version 5.5 Google Closure Stylesheets dependency has been removed and CSS minifying is done internally.

CHART.JS core

CharbaChart.JSChart.JS
Luxon
adapter
LuxonChart.JS
Moment
adapter(1)
Moment(1)Chart.JS
Datefns
adapter(1)
Datefns(1)
5.53.9.11.2.03.0.1----
5.43.8.01.1.03.0.1----
5.33.7.11.1.02.4.0----
5.23.7.11.1.02.3.1----
5.13.7.11.1.02.3.0----
5.03.6.11.1.02.0.2----
4.23.5.11.1.02.0.2----
4.13.5.01.0.02.0.1----
4.03.3.21.0.01.27.0----
3.32.9.40.2.21.25.00.1.22.28.01.0.02.9.0
3.22.9.30.2.11.24.10.1.12.25.31.0.02.9.0
3.12.9.30.2.01.22.00.1.12.24.01.0.02.9.0
3.02.9.30.2.01.22.00.1.12.24.01.0.02.9.0
2.82.9.3------
2.72.9.3------
2.62.9.2------
2.52.8.0------
2.42.8.0------
2.32.8.0------
2.22.8.0------
2.12.7.3------
2.02.7.3------
1.72.7.3------
1.62.7.2------
1.52.7.2------
1.42.7.1------
1.32.7.1------
1.22.7.1------
1.12.7.1------
1.02.7.1------

(1) As of version 4.0, Charba (and Chart.JS version 3.x) introduces the internationalization and only Luxon is leveraging on INTL platform. The other dependencies has been removed.

CHART.JS extensions

CharbaDatalabelsLabels(1)ZoomHammerJSAnnotationGradientGeoTreemapMatrix
5.52.1.01.1.01.2.12.0.82.0.00.5.03.8.12.0.21.1.1
5.42.0.01.1.01.2.12.0.81.4.00.5.03.8.02.0.21.1.1
5.32.0.01.1.01.2.12.0.81.4.00.5.03.7.22.0.21.1.1
5.22.0.01.1.01.2.12.0.81.4.00.4.03.7.12.0.21.1.1
5.12.0.01.1.01.2.02.0.81.3.1-3.7.12.0.21.1.1
5.02.0.01.1.01.2.02.0.81.1.0-3.6.02.0.01.1.0
4.22.0.01.1.01.1.12.0.81.0.2-3.5.11.0.21.1.0
4.12.0.01.1.01.1.12.0.81.0.2-3.1.0--
4.02.0.0-rc.11.1.01.0.12.0.81.0.2----
3.30.7.01.1.00.7.52.0.85363042----
3.20.7.01.1.00.7.52.0.85363042----
3.10.7.01.1.00.7.52.0.87037eea----
3.00.7.01.1.00.7.52.0.87037eea----
2.80.7.01.1.00.7.52.0.87037eea----
2.70.7.01.1.0-------
2.60.7.01.1.0-------
2.50.6.01.1.0-------
2.40.6.01.1.0-------
2.30.6.01.1.0-------
2.20.6.01.1.0-------
2.10.5.01.1.0-------
2.0---------
1.7---------
1.6---------
1.5---------
1.4---------
1.3---------
1.2---------
1.1---------
1.0---------

(1) The Labels plugin has been heavily changed in order to be compliant with Chart.JS version 3.x) in the Charba project because the original project is unmaintained.

Additional extensions

CharbaML.js
5.56.0.0
5.46.0.0
5.36.0.0