Skip to content

Uses fetch to add a random number to a line chart every 2 seconds

Notifications You must be signed in to change notification settings

Curtis-Lockley/ChartJS-API-Line-Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program will get a random number from a an API hosted using Spring Boot

Instructions

  • 1: Run DemoApplication.java located in src\main\java\com\example\demo
  • 2: Go to http://localhost:8080/
  • 3: To preview the JavaScript code look at chartjs.js located in src\main\resources\static\js
  • 4: To preview the current temprature controller see currentTempratureController.java located in src\main\java\com\example\demo

Alt text

About

Uses fetch to add a random number to a line chart every 2 seconds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published