| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package elements.axis {
- import flash.display.Sprite;
-
- public class YAxisLeft extends YAxisBase {
- function YAxisLeft() {}
-
- public override function init(json:Object): void {
- this.labels = new YAxisLabelsLeft(json);
- this.addChild( this.labels );
-
- //
- // default values for a left axis
- //
- var style:Object = {
- stroke: 2,
- 'tick-length': 3,
- colour: '#784016',
- offset: false,
- 'grid-colour': '#F5E1AA',
- 'grid-visible': true,
- '3d': 0,
- steps: 1,
- visible: true,
- min: 0,
- max: null
- };
-
- super._init(json, 'y_axis', style);
- }
-
- public override function resize( label_pos:Number, sc:ScreenCoords ):void {
-
- super.resize_helper( label_pos, sc, false);
- }
- }
- }
|