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:
- DataLabels plugin
- Labels plugin (former PieceLabels). Due to the project is unmaintained, the plugin has been imported in Charba project and maintained in Charba project
- Zoom plugin
- Annotation plugin
- Gradient plugin
- Chart.js Geo controller
- Chart.js Treemap controller
- Chart.js Matrix controller
- Chart.js Sankey controller
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.
Component | Version | License |
---|---|---|
JSInterop Annotations | 2.0.0 | Apache 2.0 |
GWT Web Toolkit | 2.9.0 | Apache 2.0 |
Google Closure Compiler | v20221004 | Apache 2.0 |
Chart.JS | 3.9.1 | MIT |
Chart.JS Luxon adapter | 1.2.0 | MIT |
Luxon | 3.0.4 | MIT |
DataLabels | 2.1.0 | MIT |
Zoom | 1.2.1 | MIT |
HammerJS | 2.0.8 | MIT |
Annotation | 2.0.1 | MIT |
Gradient | 0.5.1 | MIT |
Chart Geo | 3.10.0 | MIT |
Chart Treemap | 2.0.2 | MIT |
Chart Matrix | 1.2.0 | MIT |
Chart Sankey | 0.11.0 | MIT |
ML.js | 6.0.0 | MIT |
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
Charba | JDK | JsInterop Base | JsInterop Annotations | GWT Web toolkit(1) | Google Closure Compiler | Google Closure Stylesheets(2) |
---|---|---|---|---|---|---|
5.7 | 11 | - | 2.0.0 | 2.9.0 | v20221004 | - |
5.6 | 11 | - | 2.0.0 | 2.9.0 | v20220905 | - |
5.5 | 11 | - | 2.0.0 | 2.9.0 | v20220719 | - |
5.4 | 11 | - | 2.0.0 | 2.9.0 | v20220601 | 1.5.0 |
5.3 | 11 | - | 2.0.0 | 2.9.0 | v20220301 | 1.5.0 |
5.2 | 11 | - | 2.0.0 | 2.9.0 | v20220301 | 1.5.0 |
5.1 | 11 | - | 2.0.0 | 2.9.0 | v20220202 | 1.5.0 |
5.0 | 11 | - | 2.0.0 | 2.9.0 | v20211006 | 1.5.0 |
4.2 | 8 | - | 2.0.0 | 2.9.0 | v20210808 | 1.5.0 |
4.1 | 8 | - | 2.0.0 | 2.9.0 | v20210601 | - |
4.0 | 8 | - | 2.0.0 | 2.9.0 | v20210505 | - |
3.3 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20201006 | - |
3.2 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200504 | - |
3.1 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200224 | - |
3.0 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200204 | - |
2.8 | 8 | - | 2.0.0 | 2.8.2 | v20200101 | - |
2.7 | 8 | - | 1.0.2 | 2.8.2 | v20191111 | - |
2.6 | 8 | - | 1.0.2 | 2.8.2 | v20190929 | - |
2.5 | 8 | - | 1.0.2 | 2.8.2 | v20190415 | - |
2.4 | 8 | - | 1.0.2 | 2.8.2 | v20190325 | - |
2.3 | 8 | - | 1.0.2 | 2.8.2 | v20190301 | - |
2.2 | 8 | - | 1.0.2 | 2.8.2 | v20190301 | - |
2.1 | 8 | - | 1.0.2 | 2.8.2 | - | - |
2.0 | 8 | - | 1.0.2 | 2.8.2 | - | - |
1.7 | 8 | - | - | 2.8.2 | - | - |
1.6 | 8 | - | - | 2.8.2 | - | - |
1.5 | 8 | - | - | 2.8.2 | - | - |
1.4 | 8 | - | - | 2.8.2 | - | - |
1.3 | 8 | - | - | 2.8.2 | - | - |
1.2 | 8 | - | - | 2.8.2 | - | - |
1.1 | 8 | - | - | 2.8.2 | - | - |
1.0 | 8 | - | - | 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
Charba | Chart.JS | Chart.JS Luxon adapter | Luxon | Chart.JS Moment adapter(1) | Moment(1) | Chart.JS Datefns adapter(1) | Datefns(1) |
---|---|---|---|---|---|---|---|
5.7 | 3.9.1 | 1.2.0 | 3.0.4 | - | - | - | - |
5.6 | 3.9.1 | 1.2.0 | 3.0.3 | - | - | - | - |
5.5 | 3.9.1 | 1.2.0 | 3.0.1 | - | - | - | - |
5.4 | 3.8.0 | 1.1.0 | 3.0.1 | - | - | - | - |
5.3 | 3.7.1 | 1.1.0 | 2.4.0 | - | - | - | - |
5.2 | 3.7.1 | 1.1.0 | 2.3.1 | - | - | - | - |
5.1 | 3.7.1 | 1.1.0 | 2.3.0 | - | - | - | - |
5.0 | 3.6.1 | 1.1.0 | 2.0.2 | - | - | - | - |
4.2 | 3.5.1 | 1.1.0 | 2.0.2 | - | - | - | - |
4.1 | 3.5.0 | 1.0.0 | 2.0.1 | - | - | - | - |
4.0 | 3.3.2 | 1.0.0 | 1.27.0 | - | - | - | - |
3.3 | 2.9.4 | 0.2.2 | 1.25.0 | 0.1.2 | 2.28.0 | 1.0.0 | 2.9.0 |
3.2 | 2.9.3 | 0.2.1 | 1.24.1 | 0.1.1 | 2.25.3 | 1.0.0 | 2.9.0 |
3.1 | 2.9.3 | 0.2.0 | 1.22.0 | 0.1.1 | 2.24.0 | 1.0.0 | 2.9.0 |
3.0 | 2.9.3 | 0.2.0 | 1.22.0 | 0.1.1 | 2.24.0 | 1.0.0 | 2.9.0 |
2.8 | 2.9.3 | - | - | - | - | - | - |
2.7 | 2.9.3 | - | - | - | - | - | - |
2.6 | 2.9.2 | - | - | - | - | - | - |
2.5 | 2.8.0 | - | - | - | - | - | - |
2.4 | 2.8.0 | - | - | - | - | - | - |
2.3 | 2.8.0 | - | - | - | - | - | - |
2.2 | 2.8.0 | - | - | - | - | - | - |
2.1 | 2.7.3 | - | - | - | - | - | - |
2.0 | 2.7.3 | - | - | - | - | - | - |
1.7 | 2.7.3 | - | - | - | - | - | - |
1.6 | 2.7.2 | - | - | - | - | - | - |
1.5 | 2.7.2 | - | - | - | - | - | - |
1.4 | 2.7.1 | - | - | - | - | - | - |
1.3 | 2.7.1 | - | - | - | - | - | - |
1.2 | 2.7.1 | - | - | - | - | - | - |
1.1 | 2.7.1 | - | - | - | - | - | - |
1.0 | 2.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
Charba | Datalabels | Labels(1) | Zoom | HammerJS | Annotation | Gradient | Geo | Treemap | Matrix |
---|---|---|---|---|---|---|---|---|---|
5.7 | 2.1.0 | 1.1.0 | 1.2.1 | 2.0.8 | 2.0.1 | 0.5.1 | 3.10.0 | 2.0.2 | 1.2.0 |
5.6 | 2.1.0 | 1.1.0 | 1.2.1 | 2.0.8 | 2.0.1 | 0.5.1 | 3.9.0 | 2.0.2 | 1.1.1 |
5.5 | 2.1.0 | 1.1.0 | 1.2.1 | 2.0.8 | 2.0.0 | 0.5.0 | 3.8.1 | 2.0.2 | 1.1.1 |
5.4 | 2.0.0 | 1.1.0 | 1.2.1 | 2.0.8 | 1.4.0 | 0.5.0 | 3.8.0 | 2.0.2 | 1.1.1 |
5.3 | 2.0.0 | 1.1.0 | 1.2.1 | 2.0.8 | 1.4.0 | 0.5.0 | 3.7.2 | 2.0.2 | 1.1.1 |
5.2 | 2.0.0 | 1.1.0 | 1.2.1 | 2.0.8 | 1.4.0 | 0.4.0 | 3.7.1 | 2.0.2 | 1.1.1 |
5.1 | 2.0.0 | 1.1.0 | 1.2.0 | 2.0.8 | 1.3.1 | - | 3.7.1 | 2.0.2 | 1.1.1 |
5.0 | 2.0.0 | 1.1.0 | 1.2.0 | 2.0.8 | 1.1.0 | - | 3.6.0 | 2.0.0 | 1.1.0 |
4.2 | 2.0.0 | 1.1.0 | 1.1.1 | 2.0.8 | 1.0.2 | - | 3.5.1 | 1.0.2 | 1.1.0 |
4.1 | 2.0.0 | 1.1.0 | 1.1.1 | 2.0.8 | 1.0.2 | - | 3.1.0 | - | - |
4.0 | 2.0.0-rc.1 | 1.1.0 | 1.0.1 | 2.0.8 | 1.0.2 | - | - | - | - |
3.3 | 0.7.0 | 1.1.0 | 0.7.5 | 2.0.8 | 5363042 | - | - | - | - |
3.2 | 0.7.0 | 1.1.0 | 0.7.5 | 2.0.8 | 5363042 | - | - | - | - |
3.1 | 0.7.0 | 1.1.0 | 0.7.5 | 2.0.8 | 7037eea | - | - | - | - |
3.0 | 0.7.0 | 1.1.0 | 0.7.5 | 2.0.8 | 7037eea | - | - | - | - |
2.8 | 0.7.0 | 1.1.0 | 0.7.5 | 2.0.8 | 7037eea | - | - | - | - |
2.7 | 0.7.0 | 1.1.0 | - | - | - | - | - | - | - |
2.6 | 0.7.0 | 1.1.0 | - | - | - | - | - | - | - |
2.5 | 0.6.0 | 1.1.0 | - | - | - | - | - | - | - |
2.4 | 0.6.0 | 1.1.0 | - | - | - | - | - | - | - |
2.3 | 0.6.0 | 1.1.0 | - | - | - | - | - | - | - |
2.2 | 0.6.0 | 1.1.0 | - | - | - | - | - | - | - |
2.1 | 0.5.0 | 1.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
Charba | ML.js |
---|---|
5.7 | 6.0.0 |
5.6 | 6.0.0 |
5.5 | 6.0.0 |
5.4 | 6.0.0 |
5.3 | 6.0.0 |