bburch2000 Report post Posted June 22, 2017 Hi, Does the FusionCharts archive include sample PHP code for running a Gantt chart from the server side? I’ve been trying to adapt the multiseries Col2d example listed below. It uses a single table with four columns, then has a “while” loop run through each row to load four arrays. http://forum.fusioncharts.com/topic/19496-multi-series-2d-column-chart-from-mysql/#comment-67735 For Gantt, I’ve tried three “while” loops to run through Category, Process, and Task tables. But I don’t really know PHP and haven't been able to get it working. I’m hoping somebody at FusionCharts has done a server-side implementation of the Gantt chart for PHP. Thanks! Bill Share this post Link to post Share on other sites
Prerana Report post Posted June 26, 2017 Hello, Thanks for the query. We are sharing a sample of a multi series chart, created using PHP and MySQL where the data format is in XML. Kindly refer the sample attached below and form data source for Gantt chart like this. Please find the sample fiddle given below to know more about the data source format required for Gantt chart. http://jsfiddle.net/Prerana/fLqSL/231/ Hope this will help. mscombi2d_sql_xml.zip Share this post Link to post Share on other sites
bburch2000 Report post Posted June 26, 2017 (edited) Hmmm, OK, you're using some new operators (addChild, addAttribute), which look like they could clean up the code. Still using a single while loop to iterate over a single table with four columns. I'm guessing there's no server-side Gantt example sitting around. Those new operators might clean things up enough for me to understand how the multidimensional arrays are getting used. Thanks, Prerana! I'll study the example. If I get something working, I'll post it here. Bill Edited June 26, 2017 by bburch2000 Share this post Link to post Share on other sites