Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create a graph from data in the mysql database  RSS feed

 
Kithama Shadrack
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys, I~m currently new to PHP . I`m trying to create graphs from the data i have uploaded to my databases inform of csv files.
how can i use the data in the database to create graphs?
Thank you
 
s ravi chandran
Ranch Hand
Posts: 571
6
Java jQuery
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know PHP, but here is what I think might be useful.

You need to read the edge information from the db and probably store it in some data structure.

Iterate this structure and keep adding edges using some method call like graph.addEdge();

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!