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.
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
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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community