23-06-2008, 05:28 AM
I am using flare in Flex. When I render the graph it is going outside the canvas. I really don't want to add pan/zoom control. How can I add scroll to flare visualization. Help me.
Regards,
Jaga
Regards,
Jaga
<flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" height="10000" width="10000"/><flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" clipContent='false'/>codebreaker Wrote:Hi everyone,
Finally I found the problem.While adding flare as Flex component using FlareVis, by default bounds are set as 500 x 500
Code:
<flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" height="10000" width="10000"/>
give the height and width to be greater number as given above.
alternatively set clipContent property to false
Code:
<flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" clipContent='false'/>
Once this is done Scroll bars will appear.
Regards,
Jaga
(25-06-2008 06:48 AM)codebreaker Wrote: [ -> ]Hi everyone,
Finally I found the problem.While adding flare as Flex component using FlareVis, by default bounds are set as 500 x 500
Code:
<flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" height="10000" width="10000"/>
give the height and width to be greater number as given above.
alternatively set clipContent property to false
Code:
<flexvis:FlareVis id="graph" includeInLayout="true" label="Graph" clipContent='false'/>
Once this is done Scroll bars will appear.
Regards,
Jaga
(21-10-2008 03:55 PM)xperetz Wrote: [ -> ]i hope some one here could help us in this issue
think it is very important to know how to use a scrollbar with actionscript without the use of the mxml format
thanks in advace and have a great week
avi
var graph:FlareVis = new FlareVis;
graph.includeInLayout = True;
graph.label = "Graph";
graph.height = 10000;
graph.width = 10000;
graph.clipContent = False;
// where container is some sort of UIcomponent container
container.addChild(graph)