﻿<?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  / Displaying Stacked Columns 2D chart inside a ScrollPane component. / 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>Wed, 03 Dec 2008 02:26:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>Thanks Pallav, that helped a lot!.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 31 Jan 2007 11:32:56 GMT</pubDate><dc:creator>kappuz</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>This is because of the following lines in com/fusioncharts/core/Chart.as:&lt;/P&gt;&lt;P&gt;private var testTFX : Number = - 2000;&lt;BR&gt;private var testTFY : Number = - 2000;&lt;/P&gt;&lt;P&gt;You can change it to 0.&lt;/P&gt;&lt;P&gt;Also, in com\fusioncharts\helper\ToolTip.as, you'll need to change the following values to 0:&lt;/P&gt;&lt;P&gt;  this.tf._x = - 100;&lt;BR&gt;  this.tf._y = - 100;&lt;/P&gt;&lt;P&gt;However, this might cause an initial flicker of tool tip.</description><pubDate>Tue, 30 Jan 2007 05:06:18 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>Ok, I will do it from there. Thanks!&lt;br&gt;&lt;br&gt;Now I have another problem. I dynamically create movieclips for attaching the graphs.&lt;br&gt;&lt;br&gt;When I create an empty movieClip, it´s size it´s 0, but when I render the graph inside it, the container movieClip's size increments a lot more than the graph size.&lt;br&gt;&lt;br&gt;For example:&lt;br&gt;&lt;br&gt;var laGraficaMC:MovieClip 	= laHoja.lasGraficas.createEmptyMovieClip("grafica1", 1);&lt;br&gt;&lt;br&gt;//At this point, laGraficaMC._width equals 0, and laGraficaMC._height equals 0 (the movie clip is empty).&lt;br&gt;&lt;br&gt;import com.fusioncharts.core.charts.StackedColumn2DChart;&lt;br&gt;&lt;br&gt;var laGrafica:StackedColumn2DChart = new StackedColumn2DChart(laGraficaMC, 1, 550, 611, 0, 116, false, "EN", "noScale");&lt;br&gt; 		&lt;br&gt;//At this point, laGraficaMC._width equals 2201, and laGraficaMC.height equals 2541.5&lt;br&gt;&lt;br&gt;&lt;br&gt;_yscale and _xscale of laGraficaMC are set in 100.&lt;br&gt;&lt;br&gt;&lt;br&gt;Why is this happening?.... the size only gets bigger when rendering the graph...&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;</description><pubDate>Mon, 29 Jan 2007 14:13:09 GMT</pubDate><dc:creator>kappuz</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>To disable the scroll bars from Legend component, you need to edit to com\fusioncharts\helper\Legend.as&lt;/P&gt;&lt;P&gt;The addition of scroll bar is done in render() function of that class.</description><pubDate>Mon, 29 Jan 2007 06:54:37 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>First, I attach an empty movie clip to the ScrollPane.content property, then I get a reference variable of that movieclip, and then I render the graph inside that movieClip, everything works fine when the scrollpane.content movieclip have the enough size for the graph to render, then if I resize the ScrollPane viewPort to a smaller size (in witch not all the graph is displayed) it works ok. &lt;br&gt;&lt;br&gt;The error is when I try to render the graph inside the ScrollPane when the viewport of the ScrollPane masks some part of the Legend of the graph. The strange thing is that if I run the SWF inside an HTML, the graph renders perfect even if the scrollPane's vewport is smaller than the graph. But in a standalone SWF, the lengend does'nt render fine...&lt;br&gt;&lt;br&gt;I think one solution is to disable your scrollBar routine from the legend, I don't really need it as well... Can you orient me a little in that issue?&lt;br&gt;&lt;br&gt;Thanks again !&lt;br&gt;&lt;br&gt;Daniel</description><pubDate>Sun, 28 Jan 2007 01:07:22 GMT</pubDate><dc:creator>kappuz</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>Are you directly loading the chart into a ScrollPane? If yes, I'm afraid it won't work, as FusionCharts classes do not derive from UIObject class and hence the scroll bar needs to be manipulated before it can actually function well.</description><pubDate>Fri, 26 Jan 2007 23:58:53 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>I have now a partial solution ... I think it is not the cleanest way to do it but it works... I make the scrollPane size bigger when rendering the graph, and the I set it's size to the needed size, and then all contents of the graph (including the legend) are rendered.. this kind of solution is what mexicans call "chapuza" : (something that works... but it's not the "right" solution).&lt;br&gt;&lt;br&gt;I know with all this information you can orient me to solve the problem in a professional way....&lt;br&gt;&lt;br&gt;Thanks again!!</description><pubDate>Fri, 26 Jan 2007 12:47:31 GMT</pubDate><dc:creator>kappuz</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>I tried legendPosition='right'. The graphic just renders the Legend area that is visible when rendering. The part outside the viewport of the scrollPane is not rendered (only of the legend). There is an important issue, when I publish the SWF embedded in HTML it works fine!, but the standalone SWF played in the flashplayer does'nt render OK and I need a standalone swf.&lt;br&gt;&lt;br&gt;&lt;br&gt;...&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;</description><pubDate>Fri, 26 Jan 2007 12:26:20 GMT</pubDate><dc:creator>kappuz</dc:creator></item><item><title>RE: Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>Can you once try legendPosition='Right' and see what's happening? The legend scroll wouldn't cause any conflict, as it's an internal FusionCharts component and not a Flash Component.</description><pubDate>Fri, 26 Jan 2007 02:30:31 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Displaying Stacked Columns 2D chart inside a ScrollPane component.</title><link>http://www.fusioncharts.com/forum/Topic222-37-1.aspx</link><description>When I insert a 2d Stacked Column chart inside a scrollPane component content, it does'nt display the Legend content. I believe it is because the legend itself uses a scroll. The problem persists even when the scoll is not needed.&lt;br&gt;&lt;br&gt;Thank you ..&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 25 Jan 2007 15:36:58 GMT</pubDate><dc:creator>kappuz</dc:creator></item></channel></rss>