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 | v20230502 | Apache 2.0 |
Chart.JS | 4.3.0 | MIT |
Chart.JS Luxon adapter | 1.3.1 | MIT |
Luxon | 3.3.0 | MIT |
DataLabels | 2.2.0 | MIT |
Zoom | 2.0.1 | MIT |
HammerJS | 2.0.8 | MIT |
Annotation | 3.0.1 | MIT |
Gradient | 0.6.1 | MIT |
Chart Geo | 4.2.0 | MIT |
Chart Treemap | 2.3.0 | MIT |
Chart Matrix | 2.0.1 | MIT |
Chart Sankey | 0.12.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 | Version date | JDK | JsInterop Base | JsInterop Annotations | GWT Web toolkit(1) | Google Closure Compiler | Google Closure Stylesheets(2) |
---|---|---|---|---|---|---|---|
6.4 | May 31, 2023 | 11 | - | 2.0.0 | 2.9.0 | v20230502 | - |
6.3 | Apr 2, 2023 | 11 | - | 2.0.0 | 2.9.0 | v20230228 | - |
6.2 | Mar 3, 2023 | 11 | - | 2.0.0 | 2.9.0 | v20230206 | - |
6.1 | Feb 6, 2023 | 11 | - | 2.0.0 | 2.9.0 | v20230103 | - |
6.0 | Dec 27, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20221102 | - |
5.8 | Dec 1, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20221102 | - |
5.7 | Oct 24, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20221004 | - |
5.6 | Sep 20, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220905 | - |
5.5 | Aug 8, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220719 | - |
5.4 | Jul 12, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220601 | 1.5.0 |
5.3 | May 12, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220301 | 1.5.0 |
5.2 | Apr 4, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220301 | 1.5.0 |
5.1 | Feb 22, 2022 | 11 | - | 2.0.0 | 2.9.0 | v20220202 | 1.5.0 |
5.0 | Dec 4, 2021 | 11 | - | 2.0.0 | 2.9.0 | v20211006 | 1.5.0 |
4.2 | Oct 7, 2021 | 8 | - | 2.0.0 | 2.9.0 | v20210808 | 1.5.0 |
4.1 | Jul 29, 2021 | 8 | - | 2.0.0 | 2.9.0 | v20210601 | - |
4.0 | Jun 3, 2021 | 8 | - | 2.0.0 | 2.9.0 | v20210505 | - |
3.3 | Oct 21, 2020 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20201006 | - |
3.2 | May 22, 2020 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200504 | - |
3.1 | Mar 21, 2020 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200224 | - |
3.0 | Feb 21, 2020 | 8 | 1.0.0 | 2.0.0 | 2.8.2 | v20200204 | - |
2.8 | Jan 16, 2020 | 8 | - | 2.0.0 | 2.8.2 | v20200101 | - |
2.7 | Dec 16, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20191111 | - |
2.6 | Nov 3, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20190929 | - |
2.5 | May 20, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20190415 | - |
2.4 | Apr 15, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20190325 | - |
2.3 | Mar 27, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20190301 | - |
2.2 | Mar 26, 2019 | 8 | - | 1.0.2 | 2.8.2 | v20190301 | - |
2.1 | Feb 28, 2019 | 8 | - | 1.0.2 | 2.8.2 | - | - |
2.0 | Jan 25, 2019 | 8 | - | 1.0.2 | 2.8.2 | - | - |
1.7 | Dec 4, 2018 | 8 | - | - | 2.8.2 | - | - |
1.6 | Oct 30, 2018 | 8 | - | - | 2.8.2 | - | - |
1.5 | Aug 28, 2018 | 8 | - | - | 2.8.2 | - | - |
1.4 | May 17, 2018 | 8 | - | - | 2.8.2 | - | - |
1.3 | Apr 9, 2018 | 8 | - | - | 2.8.2 | - | - |
1.2 | Feb 6, 2018 | 8 | - | - | 2.8.2 | - | - |
1.1 | Jan 31, 2018 | 8 | - | - | 2.8.2 | - | - |
1.0 | Jan 29, 2018 | 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) |
---|---|---|---|---|---|---|---|
6.4 | 4.3.0 | 1.3.1 | 3.3.0 | - | - | - | - |
6.3 | 4.2.1 | 1.3.1 | 3.3.0 | - | - | - | - |
6.2 | 4.2.1 | 1.3.1 | 3.2.1 | - | - | - | - |
6.1 | 4.2.0 | 1.3.1 | 3.2.1 | - | - | - | - |
6.0 | 4.1.1 | 1.3.0 | 3.1.1 | - | - | - | - |
5.8 | 3.9.1 | 1.3.0 | 3.1.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 |
---|---|---|---|---|---|---|---|---|---|
6.4 | 2.2.0 | 1.1.0 | 2.0.1 | 2.0.8 | 3.0.1 | 0.6.1 | 4.2.0 | 2.3.0 | 2.0.1 |
6.3 | 2.2.0 | 1.1.0 | 2.0.1 | 2.0.8 | 2.2.1 | 0.6.1 | 4.1.2 | 2.3.0 | 2.0.1 |
6.2 | 2.2.0 | 1.1.0 | 2.0.0 | 2.0.8 | 2.1.2 | 0.6.1 | 4.1.2 | 2.3.0 | 2.0.1 |
6.1 | 2.2.0 | 1.1.0 | 2.0.0 | 2.0.8 | 2.1.2 | 0.6.1 | 4.1.2 | 2.3.0 | 2.0.1 |
6.0 | 2.2.0 | 1.1.0 | 2.0.0 | 2.0.8 | 2.1.0 | 0.6.1 | 4.1.0 | 2.2.0 | 1.3.0 |
5.8 | 2.1.0 | 1.1.0 | 2.0.0 | 2.0.8 | 2.1.0 | 0.5.1 | 3.10.0 | 2.1.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.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 |
---|---|
6.4 | 6.0.0 |
6.3 | 6.0.0 |
6.2 | 6.0.0 |
6.1 | 6.0.0 |
6.0 | 6.0.0 |
5.8 | 6.0.0 |
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 |