jimalexander123

Members
  • Content count

    2
  • Joined

  • Last visited

Everything posted by jimalexander123

  1. Hi, In my web application, the user will click a button to display a new chart. Depending on one of the options they choose just BEFORE they click the button, I want to change the size of the resulting chart. I'm using standard coding similiar to below, its the "400" I want to change dynamically. Is this possible ? The chart height would seem to be set and web page load time ? Thanks Jim. <div id="chart1div"> FusionCharts </div> <script language="JavaScript"> var chart1 = new FusionCharts("../../FusionCharts/MSColumn3D.swf", "chart1Id", "600", "400", "0", "1"); chart1.setDataXML("<chart></chart>"); chart1.render("chart1div"); </script>
  2. How to Dynamically resize the height of a chart

    Thanks for the pointer. This has worked. For readers reference. On button click, I make a ajax request, via php script, using jquery. This has to be synchronous. The php script calculates the required height of the graph, passes the value back, and this new value is used in the re-rendered chart object. Thanks again. Jim.