Skip navigation
ice9_us
Currently Being Moderated

adding a child object

Dec 4, 2009 10:45 AM

trying to add a child to a panel display...

 

 

 

<mx:Panel x="399" y="48" width="726" id="charthome" height="477" >

 

 

</mx:Panel>

 

 

public function buildChart(event:Event):void {

mychart=new  LineChart();

myChart.showDataTips=true;

myChart.showDataTips=true;

 

 

myChart.height=100;

myChart.width=100;

 

 

// myChart.dataProvider = ;

charthome.addChild(myChart);

}

 

how do i add the child to chart home so it goes across.. till the vertical area is full..

the moves down to the next line much like a grid?

 
Replies
  • Currently Being Moderated
    Dec 4, 2009 11:09 AM   in reply to ice9_us

    Can't really understand what you want to do.

     

    Can you try to describe more clearly?

     

    Greg Lafrance
    www.ChikaraDev.com

    Flex Development and Support Services

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 4, 2009 12:19 PM   in reply to ice9_us

    The Tile component?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points