source:
code/Website/open-flash-chart/elements/labels/YLegendLeft.as@
7878
| Last change on this file since 7878 was 7849, checked in by , 16 years ago | |
|---|---|
| File size: 356 bytes | |
| Rev | Line | |
|---|---|---|
| [7849] | 1 | package elements.labels { |
| 2 | ||
| 3 | public class YLegendLeft extends YLegendBase { | |
| 4 | ||
| 5 | public function YLegendLeft( json:Object ) { | |
| 6 | super( json, 'y' ); | |
| 7 | } | |
| 8 | ||
| 9 | public override function resize():void { | |
| 10 | if ( this.numChildren == 0 ) | |
| 11 | return; | |
| 12 | ||
| 13 | this.y = (this.stage.stageHeight/2)+(this.getChildAt(0).height/2); | |
| 14 | this.x = 0; | |
| 15 | } | |
| 16 | } | |
| 17 | } |
Note:
See TracBrowser
for help on using the repository browser.
