4

I'm trying to dynamically change chart height and width into 100% from action script. " chart " is ID of the chart... chart.height=100% and chart.width=100%. Is this possible?. i did not find proper method to do this.

Eranga Perera
  • 908
  • 1
  • 11
  • 21
  • 2
    Using ="100%" can only be done in the MXML. To set this explicitly in AS you have to follow simion314's answer – Cédric D Feb 25 '14 at 08:32

1 Answers1

5

There are properties named percentWidth and percentHeight, set those to 100 .

simion314
  • 1,394
  • 16
  • 29