diff options
Diffstat (limited to 'libs/open-flash-chart/actionscript/ExPoint.as')
-rw-r--r-- | libs/open-flash-chart/actionscript/ExPoint.as | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/open-flash-chart/actionscript/ExPoint.as b/libs/open-flash-chart/actionscript/ExPoint.as new file mode 100644 index 0000000000..f4a5fe40dc --- /dev/null +++ b/libs/open-flash-chart/actionscript/ExPoint.as @@ -0,0 +1,25 @@ +class ExPoint
+{
+ public var left:Number=0; // <-- for bars
+ public var center:Number=0; // <-- for dots
+ public var y:Number=0;
+ public var tooltip:String = "";
+
+ public var bar_width:Number=0;
+ public var bar_bottom:Number=0;
+
+ public function ExPoint( left:Number, center:Number, y:Number, width:Number, bar_bottom:Number, tooltip:Number )
+ {
+ this.left = left;
+ this.center = center;
+ this.y = y;
+ this.bar_width = width;
+ this.bar_bottom = bar_bottom;
+ this.tooltip = _root.format(tooltip);
+ }
+
+ public function toString()
+ {
+ return "left :"+ this.left;
+ }
+}
\ No newline at end of file |