Wicket Chartjs

This project combines Apache Wicket with Chart.js. It is completely open source and free to use (also in commercial projects). Create beautiful charts and graphs in your Wicket project.
Alternatives To Wicket Chartjs
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Chart.js60,20720,0692,4442 days ago83August 03, 2022241mitJavaScript
Simple HTML5 Charts using the <canvas> tag
Mpandroidchart36,247
12 days ago2December 01, 20202,118otherJava
A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Charts14,651722118 days ago53July 18, 2022134mitJavaScript
Simple, responsive, modern SVG Charts with zero dependencies
React Flow14,603704 days ago259September 14, 202262mitTypeScript
Highly customizable library for building an interactive node-based UI, workflow editor, flow chart or static diagram
Apexcharts.js12,4033772604 days ago188August 22, 2022263mitJavaScript
📊 Interactive JavaScript Charts built on SVG
C39,2571,1341752 months ago67August 08, 2020780mitJavaScript
:bar_chart: A D3-based reusable chart library
Uplot7,6652312 days ago53July 08, 202281mitJavaScript
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Chart.xkcd7,315553 months ago22January 04, 202036mitJavaScript
xkcd styled chart lib
Morris.js6,9701,178292 years ago1March 05, 2015325CoffeeScript
Pretty time-series line graphs
Gojs6,773110839 days ago243September 12, 2022otherHTML
JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
Alternatives To Wicket Chartjs
Select To Compare


Alternative Project Comparisons
Readme

Wicket Chart.js

This project combines Apache Wicket and Chart.js. It provides all charts from Chart.js within Apache Wicket. It's completely open source and free to use (also in commercial projects). Create beautiful charts and graphs in your Wicket project using only Java if you like. Customize every JavaScript and CSS details if you need to.

Java CI with Maven

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

This project uses Java version 11 minimum

Installing

Include wicket-chartjs in your pom.xml

<dependency>
  <groupId>de.martinspielmann.wicket</groupId>
  <artifactId>wicket-chartjs</artifactId>
  <version>${wicket-chartjs.version}</version>
</dependency>

Usage

  1. Add your data to a chart model:
LoadableDetachableModel<Bar> model = LoadableDetachableModel.of(() -> {
  Bar bar = new Bar();
  bar.getData().getLabels().addAll(TextLabel.of("January", "February", "March", "April", "May", "June", "July"));
  BarDataset barDataSet = new BarDataset();
  barDataSet.setLabel("My First dataset");
  barDataSet.setData(new Data(NumberDataValue.of(0, 10, 5, 2.5, 20, 30, 45)));
  bar.getData().getDatasets().add(barDataSet);
  return bar;
})
  1. Create a chart panel:
add(new BarChartPanel("bar", model));
  1. Add the panel to your HTML markup:
<div wicket:id="bar"></div>

That was it :) That's your first Chart in Java with wicket-chartjs.

Built With

  • Maven - Software project management and comprehension tool
  • Wicket - Wicket is an open source, component oriented, serverside, Java web application framework
  • Chart.js - Simple yet flexible JavaScript charting for designers & developers

Contributing

This is stil lwork in progress and not yet feature complete. If you find any problem, don't hesitate to create an issue or PR.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE file for details

Popular Graph Projects
Popular Chart Projects
Popular Computer Science Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Java
Html
Css
Graph
Apache
Chart
Chartjs