vlad

Members
  • Content count

    1
  • Joined

  • Last visited

About vlad

  • Rank
    Forum Newbie
  1. Hello, I am trying to build a streaming chart based on RealTimeLine.swf. I use XML code from http://www.fusioncharts.com/widgets/Gallery/RealTimeLine1.html. I want to get streaming data from PHP. So I took a PHP example from the online documentation: <?php $randomValue =rand(30,35); $dateTimeLabel = date('h:i:s'); print "&label=" . $dateTimeLabel . "&value=" . $randomValue; ?> But the chart shows text "$dateTimeLabel." instead of dates on axis X and doesn't show plots at all. I've checked the PHP. It generates data in correct format: &label=17:45:41&value=52 To test the problem I've created an XML data file and put the text: &label=17:45:41&value=52 there; Pointed dataStreamURL to this file. The chart works fine. What could be a solution for that problem? Thank you