Fr33z3m4n

Fusioncharts Jquery Attrfusioncharts Re-Draw

Recommended Posts

Hi,

 

it is possible to use

 

attrFusionCharts( chartAttribute:string, newValue:string)

 

withoud re-draw the chart ?

 

second Problem:

If i use attrFusionChart in bind function, my browser crashed everytime.

 

$("#chartContainer").bind( "fusionchartsdrawcomplete", function ( eventObject, argumentsObject) {

$(":FusionCharts").attrFusionCharts( { caption: "New chart title" } );

});

Share this post


Link to post
Share on other sites

Nopes! FusionCharts needs to redraw the chart on attribute change (irrespective whether jQuery plugin is used or directly chartObject.setChartAttribute is used.) This is inherently because on most attribute change, the chart needs to recalculate the entire visual aspect and position of various items. Is there any specific reason for which you want to avoid redraw?

 

Also, an extra bit of info, not sure if that will be useful to you: for certain realtime gauges, one can specifically update the data and data-labels without redrawing the chart.

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