Sign in to follow this  
Mr. War

Does Datastamp Field Work?

Recommended Posts

Hi everyone,

 

I'm using the dataStamp field in my XML data file because I need it to fetch the last record from the database. However it doesn't seem to work... If I add it, the chart doesn't refresh, if I remove it the chart starts refreshing automatically =/

 

What can be the problem? The XML file I'm using is like this:

 

<chart caption='bla' subCaption='bla' dataStreamURL='DataProvider.asp' refreshInterval='1' dataStamp='16:00:00' setAdaptiveYMin='1' xAxisName='Hour' yAxisName='bla' showRealTimeValue='1' " labelDisplay='Rotate' slantLabels='1' numDisplaySets='100'>

<categories></categories>

<dataset seriesName='bla' showValues='0' color='ff0000' anchorBorderColor='ff0000'>

</dataset>

</chart>

 

Please, I need help...

 

Regards,

Marco

Share this post


Link to post
Share on other sites

UPDATE:

 

Now the first refresh runs ok... but when I update the dataStamp in the response the refresh stops!

 

My output is:

 

Response.Write("&label=" + label + "&value=" + value + "&dataStamp=" + lastData.AddSeconds(1).ToString("yyyyMMddHHmmss"));

 

Is the dataStamp field working?

 

Regards,

Marco

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
Sign in to follow this