• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

How to use progressbar.js with data from database

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My project structure is like this :


       com.project1.controller
            LoginController(@controller)
            RestController(@RestController)

       com.project1.models
            clients
       com.project1.repositories
             clientRepository
       com.project1.services


    src/main/resources
         static
               -css
               -js - progressbar.js
               -images
         templates
               -displaycharts.html

Right now , in my displayCharts I can show charts with manually filled data as input for it. What I want to be able to do is get the needed values from the database and give them as input to a chart in the thymeleaf or js file that calls the progressBar chart functions.

How do I achieve this in Spring ? Any guidance? It's my first time using this
 
reply
    Bookmark Topic Watch Topic
  • New Topic