Sign in to follow this  
hellokitty

Question about Real-time Line

Recommended Posts

Hi,

 

 

 

I'm new to this. I was successfully able to recreate the data displayed over time based on randomly generating numbers over time. However, how do I create a whole line chart to draw each second with a whole set of data (for example with 100 points). For example, I would like to use the X-axis for MHz values and the Y-axis for dB values. I don't want to set the Y-axis over time but to refresh the whole chart every second or faster. Thanks in advance!

Share this post


Link to post
Share on other sites
Guest Rajroop

Greetings Hellokitty,

 

 

 

Yes, this is possible in FusionWidgets. :)

 

 

 

Say, for an example, you're working over HTTP and you need to make sure that you utilize the bandwidth very efficiently. So, you cannot really set the chart to update itself every second, as that might create a strain on your server. However, you would also not want to skip those data which you missed by not updating every second. In such cases, the multiple data update feature comes in handy. You can then provide the following data update from the server:

 

 

 

&label=11:45,11:46,11:47&value=23,25,24|43,47,45|45,47,49

 

 

 

In the above data, we're providing three updates to each of the lines present on the chart. Also, we're providing three new labels for the x-axis.

 

 

 

NOTE: To provide multiple data in a single update, you need to separate the values within the data-set using commas. Each dataset still gets separated from other data-sets using the pipe (|) character.

 

 

 

In case you're using data-sets, then you'll be happy to know that all the data-streaming charts can have any number of data-sets in them.

 

 

 

You can also use the refreshInterval attribute to set the refresh rate. It accepts increments of a number as a value(seconds) too. For example .3 and .7 etc.

 

 

 

Couls you please refer to the following links for information on this:

 

 

 

http://www.fusioncharts.com/widgets/docs/Contents/RealTimeDataFormat.html

 

http://www.fusioncharts.com/widgets/docs/Contents/DSC_XML_RTLine.html

 

 

 

I hope this helps.

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