bender Report post Posted July 31, 2008 hi everyone! i was looking at the fusioncharts website and I noticed that you can create a discontinous data line graph (no data in the middle). I was wondering if i can do this dynamically with data from my database? coz in the example, it is in XML and the data is fixed. my database have several blank data in it and this database will be updated frequently in the future. is there any way to do discontinuous data graph with data from database? if yes, how do you code it? thanks very much...hope someone will help me on this. Share this post Link to post Share on other sites
bender Report post Posted August 3, 2008 anybody get any ideas on how to do this??? Share this post Link to post Share on other sites
mick Report post Posted August 3, 2008 bender (7/31/2008)hi everyone! i was looking at the fusioncharts website and I noticed that you can create a discontinous data line graph (no data in the middle). I was wondering if i can do this dynamically with data from my database? coz in the example, it is in XML and the data is fixed. my database have several blank data in it and this database will be updated frequently in the future. is there any way to do discontinuous data graph with data from database? if yes, how do you code it? thanks very much...hope someone will help me on this. I guess this is stating the obvious, but you can write code to generate any XML you want. The details will obviously vary depending on the language in which you are coding. If you are using Ruby, for example, then you can generate XML using the builder gem: http://builder.rubyforge.org/ Share this post Link to post Share on other sites
bender Report post Posted August 3, 2008 hi mick! thanks for replying... i'm a newbie in programming, hehe so I don't really know how to manipulate the XML to be anything I want..i'm using php, btw and if you can tell me how to do this in php, it would be great.. thanks again and I'm waiting for ur reply! Share this post Link to post Share on other sites
mick Report post Posted August 5, 2008 If you're a newbie to programming, may I ask why you're using PHP? At the risk of triggering a flame war, I think there are better languages for doing web development these days. As for how to generate XML from php, a google search for 'generate xml in php' should get you started. cheers, mick Share this post Link to post Share on other sites
bender Report post Posted August 5, 2008 Mick, I'm actually an undergrad student undergoing my practical in a software house..so it is my first time coding in php. My company is small and the programmer had quit recently, so I have to take over her job ENTIRELY! what am i to do, I'm just a practical student, and I do not have any clue about what they want me to do...lol on top of that they just pay me RM150...which is around $40-$50 a month! Soo... I will try and google it...hopefully there will be answers to my questions there... Share this post Link to post Share on other sites