Sign in to follow this  
mariak02

refreshInterval first time refresh

Recommended Posts

Hi,

when setting refreshInterval='5', the first time chart refreshes is after 5 sec. Is there an option to make the first refresh immediately, and then wait for refreshInterval sec ?

I tried to set refreshInterval='0' and then update the XML, but with '0' the chart remained empty...

Share this post


Link to post
Share on other sites

I'm afraid no. An alternative would be:

 

 

 

- Provide the initial data in XML itself

 

- Refresh every 5 seconds thereafter

Share this post


Link to post
Share on other sites

I have a need for the exact same thing mariak02 has asked for.

I understand there are workarounds, including using javascript to push the data or to have the chart generator include history values.

Maybe because of that, developers are using the workarounds, and keeping mum.

Ideally, a 'firstRefreshInterval' attribute will be nice where we can set that to 0 for an immediate refresh.

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