|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/11/2007 3:43:24 AM
Posts: 13,
Visits: 42
|
|
hi!!
I've just downloaded the FusionGadgets Trial version. But I couldn´t see any data in the example charts. When I try to see the data I always see that the data is a 0 and there is no time in the x-axis label...
Perhaps the sample code is not working properly...
I'm using StockPrice.php file.
Thanks!
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: Today @ 5:03:15 AM
Posts: 2,183,
Visits: 514
|
|
Can you please make sure that you're running from localhost after copying the files at right place? Also, we recommend switching the debug mode of chart to on to see what's happening behind the scenes.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/11/2007 3:43:24 AM
Posts: 13,
Visits: 42
|
|
if i turn on the debug mode, i can see this:
Invalid data: Non-numeric data " . $randomValue;
?>
received in data stream.
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/11/2007 3:43:24 AM
Posts: 13,
Visits: 42
|
|
this is the php code:
//Generate a random value between 30 and 35
$randomValue =rand(30,35);
//Get label for the data - time in format hh:mn:ss
$dateTimeLabel = date('h:i:s');
//Now write it to output stream
print "&label=" . $dateTimeLabel . "&value=" . $randomValue;
?>
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: Today @ 5:03:15 AM
Posts: 2,183,
Visits: 514
|
|
You do not seem to be running charts from behind localhost?
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/26/2007 5:32:50 AM
Posts: 3,
Visits: 4
|
|
| Really take care of invisible chars in your data stream. I got same error and i fix it when i remove an empty line after the result line must be: &value=15 and NOT be
|
|
|
|