Pallav

Real Time Chart scrolls but "time" value isn't showing

Recommended Posts

Hi folks, I was looking for a real time chart for a demo and found:

 

 

 

http://www.fusioncharts.com/IS/Gallery.asp#realTime

 

 

 

(the first chart under Real Time Charts (Streaming Data Charts))

 

 

 

as my example... EXCELLENT!

 

 

 

I've got things working "mostly"...

 

 

 

First -

 

I'm not seeing the new "times" scroll across the bottom of the chart.

 

I see the "Initial Time" text which scrolls across the chart but that's it.

 

The lines for "processor A" and "processor B" scroll along just fine.

 

 

 

The other strange thing is that along with the chart I see one occurrence of this on the page as well:

 

 

 

"&Initial Time=2007-06-12 07:48:00&value=10|75|40"

 

 

 

which comes from the php script which gets the realtime data for the chart.

 

 

 

If I don't do that "echo" I get no data in the chart. If I start the chart running without the echo

 

and then edit/save the php realtime script to do the echo I get data in the chart with no echo of

 

"&Initial Time=2007-06-12 07:48:00&value=10|75|40" on the page.

 

 

 

I'm hoping you'll be able to help me figure this out before I have to do the demo (tomorrow June 28... 7am PST).

 

 

 

The code is in the attached Archive.zip

 

 

 

Thanks in advance!

 

Kurt

Archive.zip

Share this post


Link to post
Share on other sites

Kurt,

I'm not sure if I've understood your problem. If you can please host this code on your live server and give me a link, I can help you debug it.

Share this post


Link to post
Share on other sites

I'm unable to post this on a server for outside viewing.

 

 

 

Please look at the example I referred to on your website. http://www.fusioncharts.com/IS/Gallery.asp#realTime

 

 

 

The Realtime Line Chart... once you click on that chart you'll see the word "Initial Time" scroll across the bottom of the page... that's all that shows up on my chart. On your demo it shows new 'times' (example "10:10:17 AM", then "10:10:19 AM", etc.). For some reason my code doesn't show the new 'times'.

 

 

 

The two lines for "processor a" and "processor b" move so that part works fine.

 

 

 

The line of "&Initial Time=2007-06-12 07:48:00&value=10|75|40" shows up above my chart.

 

 

 

To re-create the problem just point the php to your favorite table and let it keep fetching the "last" row in the table.

 

 

 

Thanks (again :-)),

 

Kurt

Share this post


Link to post
Share on other sites

In your data streaming page, you're returning a lot of HTML (<BR>) and carriage returns. This page should just return the data.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now