axis.js revision b8536d4d0d76ef6fa6779f434d574d0474baa0c8
/**
* The Axis used in the chart visualization package
* @module axis
*
*
* Note: Axis is a temporary class that has been created for the purposes of observing and testing the current state of the underlying flash chart rendering engine. This file
* will be replaced in future iterations and its api will vary significantly.
*/
/**
* The Axis module allows creating numeric, category and time axes in the Chart module.
* @module axis
* @title Axis
* @requires yahoo, dom, event
* @namespace YAHOO.widget
*/
/**
* Creates the Axis instance and contains initialization data
*
* @class Axis
* @augments Y.Event.Target
* @constructor
* @param {Object} config Configuration parameters for the Axis.
*/
{
}
keys:{
value:[],
{
},
getter: function()
{
return this._keys;
}
},
axisType:{
value: "Numeric",
{
},
getter: function()
{
return this._axisType;
},
lazyAdd: false
}
};
/**
* Need to refactor to augment Attribute
*/
{
_getArgs: function()
{
return ["$" + this._dataId];
},
GUID:"yuiaxis",
/**
* @private
* Storage for axisType
*/
_axisType: "Numeric",
/**
* @private
* Storage for keys
*/
_keys: null,
/**
* Reference to corresponding Actionscript class.
*/
AS_CLASS: "Axis",
/**
* Uses key to lookup and extract specified data from a data source.
*
* @method addKey
* @param {String} key identifier used to specify data set.
*/
{
}
});