2020-10-20 00:58:15 +02:00

51 lines
1.1 KiB
ActionScript
Executable File

/*
Copyright (c) 2009 Yahoo! Inc. All rights reserved.
The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license
*/
package com.yahoo.astra.fl.charts.axes
{
/**
* Positioning and other data used by an IAxisRenderer to draw
* items like ticks. This data is created by an IAxis instance.
*
* @author Josh Tynjala
* @see IAxis
* @see IAxisRenderer
*/
public class AxisData
{
//--------------------------------------
// Constructor
//--------------------------------------
/**
* Constructor.
*/
public function AxisData(position:Number, value:Object, label:String)
{
this.position = position;
this.value = value;
this.label = label;
}
//--------------------------------------
// Properties
//--------------------------------------
/**
* The position of the item on the axis renderer.
*/
public var position:Number;
/**
* The value of the item.
*/
public var value:Object;
/**
* The label value of the item.
*/
public var label:String;
}
}