Jump to content
JChartFX Community

Lintex

Members
  • Posts

    2
  • Joined

  • Last visited

Lintex's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. OMG!! this works great!! Thank you very much!!
  2. Hi, I'm trying to make my webapp responsive and resizing the charts is very important, this is my code: $(function(){ $(window).resize(function(){ var graficos = new Array(); graficos = document.getElementsByClassName('jchartfx'); for (var i = 0; i < graficos.length; i++) { graficos.doUpdate(true); } }); }); So everytime the user resizes the window, the chart should resize too, but i can't get it to work, and keep getting this error Uncaught TypeError: Object #<HTMLDivElement> has no method 'doUpdate' i've tried using the div and the svg element with the same result, I hope you can help me. Thank you.
×
×
  • Create New...