Bunch of examples on Spring boot and Highcharts
Java - 1.8.x
Maven - 3.x.x
Mysql - 5.x.x
Highcharts library - latest
jQuery library - latest
1. Clone the application
git clone https://github.com/scbushan05/spring-boot-highcharts.git2. Create Mysql database
create database analytics3. Run the script file
Run the script file queries.sql attached to the project4. Change mysql username and password as per your installation
open src/main/resources/application.properties
change spring.datasource.username and spring.datasource.password as per your mysql installation
5. Build and run the app using maven
mvn package
java -jar target/highcharts-0.0.1-SNAPSHOT.jarAlternatively, you can run the app without packaging it using -
mvn spring-boot:runThe app will start running at http://localhost:8080.
The app defines following Highcharts
Line chart
Multiple line chart
Pie chart
You can find the tutorial for this application on my blog -
https://bushansirgur.in/web-technologies/spring-boot-and-highcharts/