Home Forums Report Bugs Graph not responsive when loaded as hidden Reply To: Graph not responsive when loaded as hidden

#6098

Thanks for the quick answer. I’m still a beginner in js though…
So how should I call the chart.render() from another js? Like this:?

// Toggle box
//##########################################
$(document).ready(function(){
$(‘.toggle-trigger’).click(function() {
$(this).next().toggle(‘slow’);
$(this).toggleClass(“active”);
return false;
chart.render();
}).next().hide();
});

Cause it doesn’t seem to work… Even with the latest beta replaced.
Thank you in advance!

  • This reply was modified 10 years, 7 months ago by NynjA.