IAxisMode.as revision f15db56f74c632307d2cd8210cb4e883ac99d308
package com.yahoo.infographics.axes
{
/**
* Defines algorithms for managing axis data dependent on the axis type.
*/
public interface IAxisMode
{
/**
* Styles used to format labels.
*/
function get props():Object
/**
* @private (setter)
*/
function set props(value:Object):void
/**
* Returns a text to be used as a label.
*/
function getLabelAtPosition(position:Number, length:Number):String
/**
* Returns number of total major units for the axis.
*/
function getTotalMajorUnits(majorUnit:Object, length:Number):int
}
}