https://github.com/xdev-software/chartjs-java-model
Provides Java models for Chart.js
https://github.com/xdev-software/chartjs-java-model
chartjs charts java model
Last synced: 10 days ago
JSON representation
Provides Java models for Chart.js
- Host: GitHub
- URL: https://github.com/xdev-software/chartjs-java-model
- Owner: xdev-software
- License: apache-2.0
- Created: 2023-04-28T07:39:51.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-04-28T04:11:49.000Z (12 days ago)
- Last Synced: 2025-04-28T04:25:43.974Z (12 days ago)
- Topics: chartjs, charts, java, model
- Language: Java
- Homepage:
- Size: 3.29 MB
- Stars: 21
- Watchers: 3
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome - chartjs-java-model
README
[](https://mvnrepository.com/artifact/software.xdev/chartjs-java-model)
[](https://github.com/xdev-software/chartjs-java-model/actions/workflows/check-build.yml?query=branch%3Adevelop)
[](https://sonarcloud.io/dashboard?id=xdev-software_chartjs-java-model)
[](https://www.chartjs.org/docs/latest/)#
chartjs-java-model
Provides Java models for [Chart.js](https://www.chartjs.org/) so that e.g. a Java Server can build a chart and then instruct a JavaScript client what needs to be shown.This repo extends the abandoned [Chart.java](https://github.com/mdewilde/chart) and adds support for Chart.js Version 4+.
> [!NOTE]
> We try our best to implement the ChartJS v4 API however there are a lot of configuration options.
> Therefore some parts migth still be missing or use the outdated v2 API from the original repo.
> If you think you found a missing or incorrect API please open an issue and/or provide a pull request.## Installation
[Installation guide for the latest release](https://github.com/xdev-software/chartjs-java-model/releases/latest#Installation)#### Compatibility with Chart.js
| Chart.js | ``chartjs-java-model`` version |
| --- | --- |
| 4.x | ``1+`` |## Support
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).## Contributing
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.## Dependencies and Licenses
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/chartjs-java-model/dependencies)## Acknowledgment
* To all [contributors](https://github.com/xdev-software/chartjs-java-model/graphs/contributors) that helped to improve this library
* Especially to the devs at [PrimeTek/PrimeFaces](https://www.primefaces.org/) that regularly provide feedback and PRsDisclaimer: This is not an official ChartJS product and not associated