Rev | Line | |
---|
[7849] | 1 | package charts.series.bars {
|
---|
| 2 |
|
---|
| 3 | import flash.display.Sprite;
|
---|
| 4 | import flash.geom.Point;
|
---|
| 5 | import charts.series.bars.Base;
|
---|
| 6 |
|
---|
| 7 | public class Bar extends Base {
|
---|
| 8 |
|
---|
| 9 | public function Bar( index:Number, props:Properties, group:Number ) {
|
---|
| 10 |
|
---|
| 11 | super(index, props, group);
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | public override function resize( sc:ScreenCoordsBase ):void {
|
---|
| 15 |
|
---|
| 16 | var h:Object = this.resize_helper( sc as ScreenCoords );
|
---|
| 17 |
|
---|
| 18 | this.graphics.clear();
|
---|
| 19 | this.graphics.beginFill( this.colour, 1.0 );
|
---|
| 20 | this.graphics.moveTo( 0, 0 );
|
---|
| 21 | this.graphics.lineTo( h.width, 0 );
|
---|
| 22 | this.graphics.lineTo( h.width, h.height );
|
---|
| 23 | this.graphics.lineTo( 0, h.height );
|
---|
| 24 | this.graphics.lineTo( 0, 0 );
|
---|
| 25 | this.graphics.endFill();
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.