Skip to main content
Version: 6.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 Compilerv20231112Apache 2.0
Chart.JS4.4.1MIT
Chart.JS Luxon adapter1.3.1MIT
Luxon3.4.4MIT
DataLabels2.2.0MIT
Zoom2.0.1MIT
HammerJS2.0.8MIT
Annotation3.0.1MIT
Gradient0.6.1MIT
Chart Geo4.2.8MIT
Chart Treemap2.3.0MIT
Chart Matrix2.0.1MIT
Chart Sankey0.12.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

CharbaVersion
date
JDKJsInterop
Base
JsInterop
Annotations
GWT Web
toolkit(1)
Google
Closure
Compiler
Google
Closure
Stylesheets(2)
6.5Feb 10, 202411-2.0.02.9.0v20231112-
6.4May 31, 202311-2.0.02.9.0v20230502-
6.3Apr 2, 202311-2.0.02.9.0v20230228-
6.2Mar 3, 202311-2.0.02.9.0v20230206-
6.1Feb 6, 202311-2.0.02.9.0v20230103-
6.0Dec 27, 202211-2.0.02.9.0v20221102-
5.8Dec 1, 202211-2.0.02.9.0v20221102-
5.7Oct 24, 202211-2.0.02.9.0v20221004-
5.6Sep 20, 202211-2.0.02.9.0v20220905-
5.5Aug 8, 202211-2.0.02.9.0v20220719-
5.4Jul 12, 202211-2.0.02.9.0v202206011.5.0
5.3May 12, 202211-2.0.02.9.0v202203011.5.0
5.2Apr 4, 202211-2.0.02.9.0v202203011.5.0
5.1Feb 22, 202211-2.0.02.9.0v202202021.5.0
5.0Dec 4, 202111-2.0.02.9.0v202110061.5.0
4.2Oct 7, 20218-2.0.02.9.0v202108081.5.0
4.1Jul 29, 20218-2.0.02.9.0v20210601-
4.0Jun 3, 20218-2.0.02.9.0v20210505-
3.3Oct 21, 202081.0.02.0.02.8.2v20201006-
3.2May 22, 202081.0.02.0.02.8.2v20200504-
3.1Mar 21, 202081.0.02.0.02.8.2v20200224-
3.0Feb 21, 202081.0.02.0.02.8.2v20200204-
2.8Jan 16, 20208-2.0.02.8.2v20200101-
2.7Dec 16, 20198-1.0.22.8.2v20191111-
2.6Nov 3, 20198-1.0.22.8.2v20190929-
2.5May 20, 20198-1.0.22.8.2v20190415-
2.4Apr 15, 20198-1.0.22.8.2v20190325-
2.3Mar 27, 20198-1.0.22.8.2v20190301-
2.2Mar 26, 20198-1.0.22.8.2v20190301-
2.1Feb 28, 20198-1.0.22.8.2--
2.0Jan 25, 20198-1.0.22.8.2--
1.7Dec 4, 20188--2.8.2--
1.6Oct 30, 20188--2.8.2--
1.5Aug 28, 20188--2.8.2--
1.4May 17, 20188--2.8.2--
1.3Apr 9, 20188--2.8.2--
1.2Feb 6, 20188--2.8.2--
1.1Jan 31, 20188--2.8.2--
1.0Jan 29, 20188--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)
6.54.4.11.3.13.4.4----
6.44.3.01.3.13.3.0----
6.34.2.11.3.13.3.0----
6.24.2.11.3.13.2.1----
6.14.2.01.3.13.2.1----
6.04.1.11.3.03.1.1----
5.83.9.11.3.03.1.1----
5.73.9.11.2.03.0.4----
5.63.9.11.2.03.0.3----
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
6.52.2.01.1.02.0.12.0.83.0.10.6.14.2.82.3.02.0.1
6.42.2.01.1.02.0.12.0.83.0.10.6.14.2.02.3.02.0.1
6.32.2.01.1.02.0.12.0.82.2.10.6.14.1.22.3.02.0.1
6.22.2.01.1.02.0.02.0.82.1.20.6.14.1.22.3.02.0.1
6.12.2.01.1.02.0.02.0.82.1.20.6.14.1.22.3.02.0.1
6.02.2.01.1.02.0.02.0.82.1.00.6.14.1.02.2.01.3.0
5.82.1.01.1.02.0.02.0.82.1.00.5.13.10.02.1.31.3.0
5.72.1.01.1.01.2.12.0.82.0.10.5.13.10.02.0.21.2.0
5.62.1.01.1.01.2.12.0.82.0.10.5.13.9.02.0.21.1.1
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
6.56.0.0
6.46.0.0
6.36.0.0
6.26.0.0
6.16.0.0
6.06.0.0
5.86.0.0
5.76.0.0
5.66.0.0
5.56.0.0
5.46.0.0
5.36.0.0