Support the ongoing development of Laravel.io →
posted 2 years ago
Last updated 2 years ago.
0
  1. It's possible to do it in Laravel and the effort depends on how much sophistication you want to add to this project.
  2. You can build the graphs using chart.js, google charts and laravel charts as well.
0

Thanks for your answer. Actually, my questions is, what should i do to store the data graphic? My cases is one user has many graphics and every graphis consist of 2-3 column and 100 rows. I mean, should i develop databse using mongoDB as a NoSQL database for storing graphics data? Sorry i'm very beginner for web development using laravel.

Last updated 2 years ago.
0

I think @driesvints or @tvbeek can suggest you the best way to store the graphics data.

0
moderator

As long as you don't need to search or calculate in the data of different graphs I should probably store the data as json in the database.

On that way you can output that json to display it and let the frontend library render the graph.

You get a table like

training_graphics
id: int
patient_id: int
name: string // I suspect you have something to see the difference between the graphs
graph_data: json
0

Sorry @tvbeek. I still have no idea to implement your solution. Perhaps, i ask another questions to ensure my confusing. how do I create a table to store the graph data, exaample : a.) patient_id : 1 has three graph_data (current_graphic, velocity_graphic, and voltage_graphic) b.) current_graphic_id = 1, velocity_graphic_id = 2, voltage_graphic_id = 3

Is it possible to use the table you provided? and there is also a possibility that I import the graphic data as a file? by adding a new field under graph_data : json, something like this :

training_graphics table

id: int patient_id: int name: string graph_data: json graph_data_file: filename

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.