Vinod P

Delta Update In Fusion Chart

Recommended Posts

Hi,

 

I have a scenario where I keep reloading a single series line chart with different data as shown below:

 

Case 1:

--------------

<chart>

   <set label='January' value='17400' />
    <set label='February' value='19800' />
    <set label='March' value='21800' />
    <set label='April' value='23800' />
    <set label='May' value='29600' />
    <set label='June' value='27600' />
</chart>

 

Case 2:

---------------

 

<chart>

   <set label='January' value='1400' />
    <set label='February' value='9800' />
    <set label='March' value='1800' />
    <set label='April' value='3800' />
    <set label='May' value='9600' />
    <set label='June' value='7600' />
</chart>

 
Here in this case the value of X-Axis remains constant and only the Y-Axis values keep changing. 
 
So when the chart is rendered everytime it first resets X and Y-Axis to straight line and then re-draws the chart and causes and animation which feels like graph is reset and re-drawed.
 
Is there any option available in Fusion chart in which  X-Axis value remains constant and Y-Axis keeps changing and the the chart only re-adjust Y-Axis point instead of redrawing the chart.
 
Regards,
Vinod.

 

Share this post


Link to post
Share on other sites
Hi Vinod,

 

For updating the Y-axis values while keeping the X-axis values constant without refreshing the page, you may use our Real-time Line chart.

 

Real-time charts are those charts which automatically update themselves every n seconds by getting new data from the server, without any page refreshes. The chart initializes itself, loads new data every n seconds and silently updates itself to reflect the current state of data.

 

Can you please try using Real time Line chart and check if it works for you?

 

For information on Real-time Line chart, you may please refer our documentation link : http://docs.fusioncharts.com/widgets/Contents/DataStreaming/XMLRealTimeLine.html

 

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