source: code/Website/open-flash-chart/elements/labels/YLegendLeft.as

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 356 bytes
Line 
1package 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.