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