﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / Miscellaneous  / Configure chart size through URL / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 02 Dec 2008 05:53:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Configure chart size through URL</title><link>http://www.fusioncharts.com/forum/Topic7190-37-1.aspx</link><description>We've (finally) released the beta of FusionCharts for Flex. You can see it and download from http://www.fusioncharts.com/flex/ . The download contains source code of both our demo applications - Chart Explorer and Mortgage, which can also be seen online at http://www.fusioncharts.com/flex/Demos.asp&lt;br&gt;&lt;br&gt;Your feedback is VERY important to us and as such please do let us know what you think of this and also if you face any bugs.</description><pubDate>Mon, 29 Sep 2008 01:41:31 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Configure chart size through URL</title><link>http://www.fusioncharts.com/forum/Topic7190-37-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;If you have the chart code, change some portion of the 'Init.as' file (location: com&amp;gt;fusioncharts&amp;gt;includes) as shown below, and recompile.&lt;/P&gt;&lt;P&gt;//Get chart width and height&lt;BR&gt;var _chartWidth : Number = &lt;BR&gt;Number (rootAttr ["chartwidth"]);&lt;BR&gt;var _chartHeight : Number = &lt;BR&gt;Number (rootAttr ["chartheight"]);&lt;BR&gt;//If chart width and chart height &lt;BR&gt;have registered as 0, we update &lt;BR&gt;to Flashvars value&lt;BR&gt;if (_chartWidth == 0 || &lt;BR&gt;_chartHeight == 0)&lt;BR&gt;{&lt;BR&gt;_chartWidth = Stage.width;&lt;BR&gt;_chartHeight = Stage.height;&lt;BR&gt;} &lt;BR&gt;&lt;/P&gt;&lt;P&gt;For the mxml do the following:&lt;/P&gt;&lt;P&gt;mySWFloader.source="MSLine.swf?chartwidth=600&amp;amp;chartheight=400"&lt;/P&gt;&lt;P&gt;thx.</description><pubDate>Sat, 05 Jul 2008 02:15:36 GMT</pubDate><dc:creator>dbasix</dc:creator></item><item><title>Configure chart size through URL</title><link>http://www.fusioncharts.com/forum/Topic7190-37-1.aspx</link><description>Hello, &lt;P&gt;I'm embedding FC in a FLEX/AS3 application using a SWFLoader. Since there is no compatibility with the AVM3, I cannot set the size of the charts through method calling.&lt;/P&gt;&lt;P&gt;I don't know if I'm missing something, but I was wandering if there is a way to set the size of the chart using a URL variable, like for e.g.  "charts/MSLine.swf?dataURL=asp/Default2.aspx&lt;STRONG&gt;&amp;amp;chartWidth=300&amp;amp;chartHeight=200&amp;amp;&lt;/STRONG&gt;debugMode=1".&lt;/P&gt;&lt;P&gt;I've tried Width, width, chartwidth and nothing. In the debug mode it gives me this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Info: Chart loaded and initialized.&lt;BR&gt;Initial Width: 1276&lt;BR&gt;Initial Height: 907&lt;BR&gt;Scale Mode: noScale.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Jose Loureiro</description><pubDate>Fri, 04 Jul 2008 13:15:09 GMT</pubDate><dc:creator>hiperlouro</dc:creator></item></channel></rss>