| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><meta name="keywords" content="NumericAxis,mx.charts.chartClasses.NumericAxis,ANGULAR_AXIS,HIDING_DATA,HORIZONTAL,HORIZONTAL_AXIS,NONE,PREPARING_TO_HIDE_DATA,PREPARING_TO_SHOW_DATA,RADIAL_AXIS,REQUIRED_BOUNDED_VALUES,REQUIRED_MIN_INTERVAL,REQUIRED_MIN_MAX,REQUIRED_PADDING,SHOWING_DATA,VERTICAL,VERTICAL_AXIS,accurate,allElements,allowNegativeForStacked,angularAxis,angularAxis,annotationElements,aspectRatio,assignedMaximum,assignedMinimum,autoAdjust,axes,axis,backgroundElements,barWidthRatio,baseAtZero,baseline,baseline,boundedValues,bounds,cache,chart,chartDataProvider,chartDataProvider,chartDataProvider,chartDataProvider,chartState,clipContent,closeField,columnWidthRatio,columnWidthRatio,computedGutters,computedInterval,computedMaximum,computedMinimum,count,creationCallback,cursor,data,data,dataChildren,dataDescriptions,dataFunction,dataProvider,dataProvider,dataRegion,dataRegion,dataRegion,dataTipFunction,dataTipItems,dataTipLayerIndex,dataTipMode,dataTransform,dataTransform,dataTransform,dataTransform,dataTransform,description,direction,discard,displayName,displayName,displayName,dragEnabled,dragImage,dragMoveEnabled,dropEnabled,element,elementBounds,elements,factory,filterData,filterDataValues,filterFunction,filteredCache,format,gutters,heightLimit,hide,highField,horizontal,horizontalAxis,horizontalAxis,horizontalAxis,horizontalAxis,horizontalAxisRatio,horizontalAxisRenderers,includeInRanges,includeInRanges,insertPosition,instances,interactive,internalStyleName,itemType,items,items,label,labelCache,labelContainer,labelContainer,labelElements,labelFunction,labelMaximum,labelMinimum,labels,legendData,legendData,legendData,length,lowField,lowerMargin,marker,max,maxBarWidth,maxColumnWidth,maxColumnWidth,maxTipWidth,min,minInterval,minorTickCache,minorTicks,minorTicks,minorTicks,moduleFactory,moduleFactory,moduleFactory,moduleFactory,mouseSensitivity,negTotalsByPrimaryAxis,offset,offset,offset,openField,origin,otherAxes,padding,padding,parseFunction,pixelHeight,pixelWidth,placement,posTotalsByPrimaryAxis,properties,radialAxis,radialAxis,radius,remove,renderData,renderData,renderDataType,requiredDescribedFields,selectable,selectedChartItem,selectedChartItems,selectedChartItems,selectedIndex,selectedIndices,selectedItem,selectedItems,selectionMode,series,series,seriesFilters,showAllDataTips,showDataTips,stackTotals,stackedMaximum,stackedMinimum,stacker,ticks,ticks,ticks,title,title,transitionRenderData,type,unitSize,unitSize,upperMargin,value,verticalAxis,verticalAxis,verticalAxis,verticalAxis,verticalAxisRatio,verticalAxisRenderers,visibleRegion,xField,addChild,addChild,addChild,addChildAt,addChildAt,addChildAt,addDataChild,addDataChild,addDragData,adjustGutters,adjustMinMax,applySeriesSet,beginBitmapFill,beginBitmapFill,beginFill,beginFill,beginInterpolation,beginInterpolation,buildLabelCache,buildMinorTickCache,buildSubSeries,cacheDefaultValues,cacheIndexValues,cacheNamedValues,chartStateChanged,chartStateChanged,chartStateChanged,claimStyles,claimStyles,claimStyles,clear,clear,clearSelection,clone,collectTransitions,collectTransitions,colorFromFill,commitProperties,commitProperties,commitProperties,createChildren,createChildren,createDataID,curveTo,curveTo,customizeSeries,customizeSeries,dataChanged,dataChanged,dataChanged,dataChanged,dataToLocal,dataToLocal,dataToLocal,defaultFilterFunction,describeData,describeData,describeData,describeData,describeData,describeData,describeData,dragCompleteHandler,dragDropHandler,dragEnterHandler,dragExitHandler,dragOverHandler,dragStartHandler,dragStartHandler,drawArc,drawCircle,drawCircle,drawEllipse,drawEllipse,drawPolyLine,drawRect,drawRect,drawRoundedRect,drawRoundedRect,endFill,endFill,endInterpolation,extractMinInterval,extractMinMax,fillFromStyle,fillRect,filterCache,filterCache,findDataPoints,findDataPoints,findDataPoints,formatDataTip,formatDataTip,formatForScreen,formatForScreen,getAllDataPoints,getAllDataPoints,getAllDataPoints,getAxis,getAxis,getElementBounds,getElementBounds,getFirstItem,getFirstItem,getFirstItem,getItemsInRegion,getItemsInRegion,getItemsInRegion,getLabelEstimate,getLabelEstimate,getLabels,getLabels,getLastItem,getLastItem,getLastItem,getMissingInterpolationValues,getMissingInterpolationValues,getNextItem,getNextItem,getNextItem,getPreviousItem,getPreviousItem,getPreviousItem,getRenderDataForTransition,guardMinMax,hideData,hideDropFeedback,initializeInterpolationData,interpolate,invalidateCache,invalidateChildOrder,invalidateData,invalidateData,invalidateData,invalidateData,invalidateDisplayList,invalidateDisplayList,invalidateFilter,invalidateMapping,invalidateSeries,invalidateSeries,invalidateSeriesStyles,invalidateSize,invalidateStacking,invalidateTransform,invalidateTransitions,invertTransform,invertTransform,invertTransform,invertTransform,legendDataChanged,legendDataChanged,lineStyle,lineStyle,lineTo,lineTo,localToData,localToData,localToData,mapCache,mapCache,mappingChanged,mappingChanged,mappingChanged,mappingChanged,measure,measure,moveTo,moveTo,positionAllDataTips,positionDataTips,preferDropLabels,preferDropLabels,processNewDataProvider,reduceLabels,reduceLabels,registerDataTransform,registerDataTransform,removeAllChildren,removeAllChildren,removeChild,removeChild,removeChildAt,removeChildAt,setActualSize,setActualSize,setAxis,setAxis,setLineStyle,setSize,showDropFeedback,stack,stack,stackAll,stripNaNs,stripNaNs,stripNaNs,styleChanged,styleChanged,stylesInitialized,transformCache,transformCache,transformCache,transformCache,transformCache,unregisterDataTransform,unregisterDataTransform,update,update,updateAllDataTips,updateData,updateData,updateDataChild,updateDataChild,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayList,updateFilter,updateFilter,updateFilter,updateFilter,updateMapping,updateMapping,updateStacking,updateTransform,updateTransform,validateData,validateData,validateData,validateTransform,validateTransform,validateTransform"><title>mx.charts.chartClasses.NumericAxis</title></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript"><!-- |
| asdocTitle = 'NumericAxis - ApacheFlex API Reference'; |
| var baseRef = '../../../'; |
| window.onload = configPage; |
| --></script> |
| <script type="text/javascript"> |
| scrollToNameAnchor(); |
| </script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a> | <a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a> | <a href="../../../all-index-A.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../index.html?mx/charts/chartClasses/NumericAxis.html&mx/charts/chartClasses/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">NumericAxis</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve"> |
| <!-- |
| |
| if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("NumericAxis"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);} |
| --> |
| </script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.charts.chartClasses</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class NumericAxis</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">NumericAxis <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a> <img src="../../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> flash.events.EventDispatcher</td></tr><tr><td class="classHeaderTableLabel">Implements</td><td> <a href="../../../mx/charts/chartClasses/IAxis.html">IAxis</a></td></tr><tr><td class="classHeaderTableLabel">Subclasses</td><td> <a href="../../../mx/charts/DateTimeAxis.html">DateTimeAxis</a>, <a href="../../../mx/charts/LinearAxis.html">LinearAxis</a>, <a href="../../../mx/charts/LogAxis.html">LogAxis</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p></p><p></p> |
| The NumericAxis class acts as a common base class |
| for axis types representing a continuous range of values |
| between a defined minimum and maximum. |
| The built-in LinearAxis, LogAxis, and DateTimeAxis |
| classes all extend this base class. |
| |
| <p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="../../../mx/charts/DateTimeAxis.html" target="">mx.charts.DateTimeAxis</a><br/><a href="../../../mx/charts/LinearAxis.html" target="">mx.charts.LinearAxis</a><br/><a href="../../../mx/charts/LogAxis.html" target="">mx.charts.LogAxis</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#autoAdjust" class="signatureLink">autoAdjust</a> : Boolean<div class="summaryTableDescription"> |
| Specifies whether Flex rounds values.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#baseAtZero" class="signatureLink">baseAtZero</a> : Boolean<div class="summaryTableDescription"> |
| Specifies whether Flex tries to keep the minimum |
| and maximum values rooted at zero.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#baseline" class="signatureLink">baseline</a> : Number<div class="summaryTableDescription">[read-only] |
| The computed minimum value for the axis |
| as long as this value is greater than 0.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/charts/chartClasses/AxisBase.html#chartDataProvider" class="signatureLink">chartDataProvider</a> : Object<div class="summaryTableDescription">[write-only] |
| The data provider assigned to the enclosing chart.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#computedMaximum" class="signatureLink">computedMaximum</a> : Number<div class="summaryTableDescription"> |
| The computed maximum value represented by this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#computedMinimum" class="signatureLink">computedMinimum</a> : Number<div class="summaryTableDescription"> |
| The computed minimum value represented by this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#direction" class="signatureLink">direction</a> : String<div class="summaryTableDescription"> |
| Determines the direction in which the axis is rendered.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/charts/chartClasses/AxisBase.html#displayName" class="signatureLink">displayName</a> : String<div class="summaryTableDescription"> |
| The name of the axis.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#labelFunction" class="signatureLink">labelFunction</a> : Function<div class="summaryTableDescription"> |
| Called to format axis values for display as labels.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#minorTicks" class="signatureLink">minorTicks</a> : Array<div class="summaryTableDescription">[read-only] |
| An Array of minor tick marks generated to represent this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#padding" class="signatureLink">padding</a> : Number<div class="summaryTableDescription"> |
| Specifies padding that Flex adds to the calculated minimum and maximum |
| values for the axis when rendering the values on the screen.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#parseFunction" class="signatureLink">parseFunction</a> : Function<div class="summaryTableDescription"> |
| Specify a parseFunction to customize how |
| the values rendered by your chart are converted into numeric values.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/charts/chartClasses/AxisBase.html#title" class="signatureLink">title</a> : String<div class="summaryTableDescription"> |
| The text for the title displayed along the axis.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/charts/chartClasses/AxisBase.html#unitSize" class="signatureLink">unitSize</a> : Number<div class="summaryTableDescription">[read-only] |
| The size of one unit of data as represented by this axis.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr></table></div><a name="protectedPropertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#assignedMaximum" class="signatureLink">assignedMaximum</a> : Number<div class="summaryTableDescription"> |
| The explicitly assigned maximum value.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#assignedMinimum" class="signatureLink">assignedMinimum</a> : Number<div class="summaryTableDescription"> |
| The explicitly assigned minimum value.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#computedInterval" class="signatureLink">computedInterval</a> : Number<div class="summaryTableDescription"> |
| The computed interval represented by this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#dataDescriptions" class="signatureLink">dataDescriptions</a> : Array<div class="summaryTableDescription">[read-only] |
| An Array of DataDescription structures describing the data being represented by the chart.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#labelCache" class="signatureLink">labelCache</a> : Array<div class="summaryTableDescription"> |
| The most recent set of AxisLabel objects |
| generated to represent this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#labelMaximum" class="signatureLink">labelMaximum</a> : Number<div class="summaryTableDescription"> |
| The maximum value where a label should be placed.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#labelMinimum" class="signatureLink">labelMinimum</a> : Number<div class="summaryTableDescription"> |
| The minimum value where a label should be placed.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#minorTickCache" class="signatureLink">minorTickCache</a> : Array<div class="summaryTableDescription"> |
| The most recent set of minor tick marks generated to represent this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#requiredDescribedFields" class="signatureLink">requiredDescribedFields</a> : uint<div class="summaryTableDescription">[read-only] |
| The fields of the DescribeData structure that this axis is interested in.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#ticks" class="signatureLink">ticks</a> : Array<div class="summaryTableDescription">[read-only] |
| An Array of tick marks for this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#NumericAxis()" class="signatureLink">NumericAxis</a>()</div><div class="summaryTableDescription"> |
| Constructor.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/charts/chartClasses/AxisBase.html#dataChanged()" class="signatureLink">dataChanged</a>():void</div><div class="summaryTableDescription"> |
| Triggers events that inform the range object |
| when the chart data has changed.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#filterCache()" class="signatureLink">filterCache</a>(cache:Array, field:String, filteredField:String):void</div><div class="summaryTableDescription"> |
| Filters a set of values of arbitrary type |
| to a set of numbers that can be mapped.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#formatForScreen()" class="signatureLink">formatForScreen</a>(value:Object):String</div><div class="summaryTableDescription"> |
| Formats values for display in DataTips.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getLabelEstimate()" class="signatureLink">getLabelEstimate</a>():<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></div><div class="summaryTableDescription"> |
| Determines the range to estimate what the axis labels should be.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#getLabels()" class="signatureLink">getLabels</a>(minimumAxisLength:Number):<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></div><div class="summaryTableDescription"> |
| Gets the labels text that is rendered.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#invertTransform()" class="signatureLink">invertTransform</a>(value:Number):Object</div><div class="summaryTableDescription"> |
| Maps a position along the axis back to a numeric data value.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#mapCache()" class="signatureLink">mapCache</a>(cache:Array, field:String, convertedField:String, indexValues:Boolean = false):void</div><div class="summaryTableDescription"> |
| Converts a set of values of arbitrary type |
| to a set of numbers that can be transformed into screen coordinates.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#preferDropLabels()" class="signatureLink">preferDropLabels</a>():Boolean</div><div class="summaryTableDescription"> |
| Determines how the axis handles overlapping labels.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#reduceLabels()" class="signatureLink">reduceLabels</a>(intervalStart:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a>, intervalEnd:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a>):<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></div><div class="summaryTableDescription"> |
| Invoked when an AxisRenderer is unable to cleanly render |
| the labels without overlap, and would like the Axis object |
| to reduce the set of labels.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/charts/chartClasses/AxisBase.html#registerDataTransform()" class="signatureLink">registerDataTransform</a>(transform:<a href="../../../mx/charts/chartClasses/DataTransform.html">DataTransform</a>, dimensionName:String):void</div><div class="summaryTableDescription"> |
| Each DataTransform that makes use of an axis |
| registers itself with that axis.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#transformCache()" class="signatureLink">transformCache</a>(cache:Array, field:String, convertedField:String):void</div><div class="summaryTableDescription"> |
| Maps a set of values from data space to screen space.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/charts/chartClasses/AxisBase.html#unregisterDataTransform()" class="signatureLink">unregisterDataTransform</a>(transform:<a href="../../../mx/charts/chartClasses/DataTransform.html">DataTransform</a>):void</div><div class="summaryTableDescription"> |
| Each DataTransform that makes use of an axis |
| registers itself with that axis.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#update()" class="signatureLink">update</a>():void</div><div class="summaryTableDescription"> |
| |
| Updates the chart.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr></table></div><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><div class="showHideLinks"><div id="hideInheritedProtectedMethod" class="hideInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(false,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Show Inherited Protected Methods</a></div><div id="showInheritedProtectedMethod" class="showInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(true,'ProtectedMethod');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Protected Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#adjustMinMax()" class="signatureLink">adjustMinMax</a>(minValue:Number, maxValue:Number):void</div><div class="summaryTableDescription"> |
| Adjusts the generated or assigned range of the axis's labels.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#buildLabelCache()" class="signatureLink">buildLabelCache</a>():Boolean</div><div class="summaryTableDescription"> |
| Populates the labelCache property with labels representing the current |
| values of the axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#buildMinorTickCache()" class="signatureLink">buildMinorTickCache</a>():Array</div><div class="summaryTableDescription"> |
| Builds an Array of positions for the minor tick marks Array that is generated by this axis.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/charts/chartClasses/AxisBase.html#describeData()" class="signatureLink">describeData</a>(requiredFields:uint):Array</div><div class="summaryTableDescription"> |
| Called by the governing DataTransform to obtain a description |
| of the data represented by this IChartElement.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/charts/chartClasses/AxisBase.html">AxisBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#guardMinMax()" class="signatureLink">guardMinMax</a>(min:Number, max:Number):Array</div><div class="summaryTableDescription"> |
| Protects the range against invalid values for this axis type.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#invalidateCache()" class="signatureLink">invalidateCache</a>():void</div><div class="summaryTableDescription"> |
| Invalidates the cached labels and tick marks that represent this axis's values.</div></td><td class="summaryTableOwnerCol">NumericAxis</td></tr></table></div><script language="javascript" type="text/javascript"><!-- |
| showHideInherited(); |
| --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="assignedMaximum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">assignedMaximum</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>protected var assignedMaximum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The explicitly assigned maximum value. |
| If no value has been assigned, this will be <code>NaN</code>. |
| Typically, calculations should be performed |
| with the <code>computedMaximum</code> field. |
| |
| </p></div><a name="propertyDetail"></a><a name="assignedMinimum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">assignedMinimum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var assignedMinimum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The explicitly assigned minimum value. |
| If no value has been assigned, this will be <code>NaN</code>. |
| Typically calculations should be performed |
| with the <code>computedMinimum</code> field. |
| |
| </p></div><a name="propertyDetail"></a><a name="autoAdjust"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">autoAdjust</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>autoAdjust:Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Specifies whether Flex rounds values. |
| If <code>false</code>, Flex does not round the values |
| set by the <code>minimum</code> and <code>maximum</code> properties, |
| or modify the default <code>minimum</code> and |
| <code>maximum</code> values. |
| |
| </p><p> The default value is <code>true</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get autoAdjust():Boolean</code><br/><code> public function set autoAdjust(value:Boolean):void</code><br/></div><a name="propertyDetail"></a><a name="baseAtZero"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">baseAtZero</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>baseAtZero:Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Specifies whether Flex tries to keep the <code>minimum</code> |
| and <code>maximum</code> values rooted at zero. |
| If all axis values are positive, the minimum axis value is zero. |
| If all axis values are negative, the maximum axis value is zero. |
| |
| </p><p> The default value is <code>true</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get baseAtZero():Boolean</code><br/><code> public function set baseAtZero(value:Boolean):void</code><br/></div><a name="propertyDetail"></a><a name="baseline"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">baseline</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>baseline:Number</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The computed minimum value for the axis |
| as long as this value is greater than 0. |
| If the maximum value is less than or equal to 0, |
| then the <code>baseline</code> property is the computed maximum. |
| If neither value is greater than 0, |
| then the <code>baseline</code> property is 0. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get baseline():Number</code><br/></div><a name="propertyDetail"></a><a name="computedInterval"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">computedInterval</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var computedInterval:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The computed interval represented by this axis. |
| The <code>computedInterval</code> is used |
| by the AxisRenderer and Gridlines classes |
| to determine where to render tick marks and grid lines. |
| The NumericAxis base class watches this field for changes |
| to determine if the chart needs to be re-rendered. |
| Derived classes are responsible for computing the value |
| of this field. |
| |
| </p></div><a name="propertyDetail"></a><a name="computedMaximum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">computedMaximum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>public var computedMaximum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The computed maximum value represented by this axis. |
| If the user has explicitly assigned a maximum value, |
| the <code>computedMaximum</code> and |
| <code>assignedMaximum</code> properties |
| are usually the same. |
| Otherwise, the <code>computedMaximum</code> is generated |
| from the values represented in the chart. |
| |
| </p></div><a name="propertyDetail"></a><a name="computedMinimum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">computedMinimum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>public var computedMinimum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The computed minimum value represented by this axis. |
| If the user has explicitly assigned a minimum value, |
| the <code>computedMinimum</code> and |
| <code>assignedMinimum</code> properties |
| are usually be the same. |
| Otherwise, the <code>computedMinimum</code> is generated |
| from the values represented in the chart. |
| |
| </p></div><a name="propertyDetail"></a><a name="dataDescriptions"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dataDescriptions</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>dataDescriptions:Array</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| An Array of DataDescription structures describing the data being represented by the chart. |
| An axis can use this property to generate values for properties, such as its range. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> protected function get dataDescriptions():Array</code><br/></div><a name="propertyDetail"></a><a name="direction"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">direction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>direction:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Determines the direction in which the axis is rendered. |
| Possible values are <code>normal</code>, |
| and <code>inverted</code>. |
| |
| All derived classes should take care of the way min and max |
| are set depending on <code>direction</code>. |
| |
| All series should take care of the way it is rendered |
| depending on the <code>direction</code> of its underlying axis. |
| |
| </p><p> The default value is <code>"normal"</code>.</p><br/><span class="label"> Implementation </span><br/><code> public function get direction():String</code><br/><code> public function set direction(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="labelCache"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">labelCache</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var labelCache:Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The most recent set of AxisLabel objects |
| generated to represent this axis. |
| This property is <code>null</code> if the axis |
| has been modified and requires new labels. |
| To guarantee that the value of the <code>labelCache</code> property |
| is correct, call the <code>buildLabelCache()</code> method |
| before accessing the <code>labelCache</code> property. |
| |
| </p></div><a name="propertyDetail"></a><a name="labelFunction"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">labelFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>labelFunction:Function</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Called to format axis values for display as labels. |
| A <code>labelFunction</code> has the following signature: |
| <pre> |
| function <i>function_name</i>(<i>labelValue</i>:Object, <i>previousValue</i>:Object, <i>axis</i>:IAxis):String { ... } |
| </pre> |
| |
| <p>If you know the types of the data your function will be formatting, |
| you can specify an explicit type for the <code>labelValue</code> |
| and <code>previousValue</code> parameters.</p> |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get labelFunction():Function</code><br/><code> public function set labelFunction(value:Function):void</code><br/></div><a name="propertyDetail"></a><a name="labelMaximum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">labelMaximum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var labelMaximum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The maximum value where a label should be placed. |
| After computing an adjusted minimum value, |
| many axis types expand the range of the axis further |
| to make room for additional rendering artifacts in the chart, |
| such as labels and borders. |
| This value represents the maximum value in the chart |
| <i>before</i> it is adjusted for these artifacts. |
| Typically axes generate labels to make sure |
| this value is labeled, rather than the adjusted maximum of the axis. |
| |
| </p></div><a name="propertyDetail"></a><a name="labelMinimum"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">labelMinimum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var labelMinimum:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The minimum value where a label should be placed. |
| After computing an adjusted minimum value, |
| many axis types expand the range of the axis further |
| to make room for additional rendering artifacts in the chart, |
| such as labels and borders. |
| This value represents the minimum value in the chart |
| <i>before</i> it is adjusted for these artifacts. |
| Typically axes will generate labels to make sure |
| this value is labeled, rather than the adjusted minimum of the axis. |
| |
| </p></div><a name="propertyDetail"></a><a name="minorTickCache"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">minorTickCache</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>protected var minorTickCache:Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The most recent set of minor tick marks generated to represent this axis. |
| This property may be <code>null</code> if the axis |
| has been modified and requires new labels and tick marks. |
| Use the public accessor <code>minorTicks</code> |
| to build the minor tick marks on demand. |
| |
| </p></div><a name="propertyDetail"></a><a name="minorTicks"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">minorTicks</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>minorTicks:Array</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| An Array of minor tick marks generated to represent this axis. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get minorTicks():Array</code><br/></div><a name="propertyDetail"></a><a name="padding"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">padding</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>padding:Number</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Specifies padding that Flex adds to the calculated minimum and maximum |
| values for the axis when rendering the values on the screen. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get padding():Number</code><br/><code> public function set padding(value:Number):void</code><br/></div><a name="propertyDetail"></a><a name="parseFunction"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">parseFunction</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>parseFunction:Function</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Specify a <code>parseFunction</code> to customize how |
| the values rendered by your chart are converted into numeric values. |
| A custom <code>parseFunction</code> is passed a data value |
| and should return a corresponding number representing the same value. |
| By default, this axis uses the ECMA function <code>parseFloat()</code>. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get parseFunction():Function</code><br/><code> public function set parseFunction(value:Function):void</code><br/></div><a name="propertyDetail"></a><a name="requiredDescribedFields"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">requiredDescribedFields</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>requiredDescribedFields:uint</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| The fields of the DescribeData structure that this axis is interested in. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> protected function get requiredDescribedFields():uint</code><br/></div><a name="propertyDetail"></a><a name="ticks"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ticks</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>ticks:Array</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| An Array of tick marks for this axis. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> protected function get ticks():Array</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="NumericAxis()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">NumericAxis</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function NumericAxis()</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p> |
| Constructor. |
| |
| </p></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="adjustMinMax()"></a><a name="adjustMinMax(Number,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">adjustMinMax</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> protected function adjustMinMax(minValue:Number, maxValue:Number):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Adjusts the generated or assigned range of the axis's labels. |
| This method is called during the update cycle of the axis. Subclasses can override this method |
| to do special processing on the values. By default, no adjustments are made to the range. |
| |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">minValue</span>:Number</code> — The computed minimum value. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">maxValue</span>:Number</code> — The computed maximum value. |
| |
| </td></tr></table></p></div><a name="buildLabelCache()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">buildLabelCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function buildLabelCache():Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Populates the <code>labelCache</code> property with labels representing the current |
| values of the axis. Subclasses must implement this function. This function is called |
| many times, so you should check to see if the <code>labelCache</code> property |
| is <code>null</code> before performing any calculations. |
| |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> — true if the labels were regenerated. |
| |
| </td></tr></table></div><a name="buildMinorTickCache()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">buildMinorTickCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function buildMinorTickCache():Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Builds an Array of positions for the minor tick marks Array that is generated by this axis. |
| Subclasses must implement this function. This function is called automatically |
| by the NumericAxis. You should access the <code>minorTicks</code> property |
| instead of calling this function directly. |
| |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Array</code> — An Array of positions from 0 to 1 that represent points between the axis |
| minimum and maximum values where minor tick marks are rendered. |
| |
| </td></tr></table></div><a name="filterCache()"></a><a name="filterCache(Array,String,String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">filterCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function filterCache(cache:Array, field:String, filteredField:String):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Filters a set of values of arbitrary type |
| to a set of numbers that can be mapped. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">cache</span>:Array</code> — An Array of objects where converted values |
| are read from and stored. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">field</span>:String</code> — The field of the objects in the cache Array |
| containing the pre-filtered values. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">filteredField</span>:String</code> — The field of the objects in the cache Array |
| where filtered values should be stored. |
| |
| </td></tr></table></p></div><a name="formatForScreen()"></a><a name="formatForScreen(Object)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">formatForScreen</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function formatForScreen(value:Object):String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Formats values for display in DataTips. |
| Returns a user-readable string. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">value</span>:Object</code> — The value to convert to a String. |
| |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>String</code> — The text of the DataTip. |
| |
| </td></tr></table></div><a name="getLabelEstimate()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getLabelEstimate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function getLabelEstimate():<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Determines the range to estimate what the axis labels should be. |
| The axis almost immediately calls the <code>getLabels()</code> method |
| to get the real values. |
| The axis uses the estimated values to adjust chart margins, |
| so any difference between the estimated labels and actual labels |
| (returned from the <code>getLabels()</code> method) results in scaling |
| the labels to fit. |
| <p>An axis need only return the minimum and maximum labels |
| when returning an estimate. |
| If the label set is fairly static, without depending on the size |
| of the axis being rendered on screen, an axis can return the entire |
| label set from this function, and mark the estimate as accurate.</p> |
| |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code> — An Array of AxisLabel objects. |
| |
| </td></tr></table></div><a name="getLabels()"></a><a name="getLabels(Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">getLabels</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function getLabels(minimumAxisLength:Number):<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Gets the labels text that is rendered. |
| When Flex calls this method, |
| the axis has already determined the minimum length of the label. |
| |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">minimumAxisLength</span>:Number</code> — The minimum length of the axis, in pixels. |
| The axis can be longer than this value, but not shorter. |
| |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code> — An array of AxisLabel objects. |
| |
| </td></tr></table></div><a name="guardMinMax()"></a><a name="guardMinMax(Number,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">guardMinMax</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function guardMinMax(min:Number, max:Number):Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Protects the range against invalid values for this axis type. |
| This function is called during the update cycle of the axis to guarantee that invalid |
| ranges are not generated. Subclasses can override this class and define logic that |
| is appropriate to their axis type. |
| |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">min</span>:Number</code> — The computed minimum value. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">max</span>:Number</code> — The computed maximum value. |
| |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Array</code> — null if no adjustment is necessary, or an Array containing the adjusted |
| values of the form <code>[min,max]</code>. |
| |
| </td></tr></table></div><a name="invalidateCache()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">invalidateCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> protected function invalidateCache():void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Invalidates the cached labels and tick marks that represent this axis's values. |
| Derived classes should call this function whenever values used in the calculation |
| of labels and tick marks change. |
| |
| </p></div><a name="invertTransform()"></a><a name="invertTransform(Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">invertTransform</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function invertTransform(value:Number):Object</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Maps a position along the axis back to a numeric data value. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">value</span>:Number</code> — The bound of the axis. |
| This parameter should be between 0 and 1, |
| with 0 representing the minimum bound of the axis, and 1 the maximum. |
| |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Object</code> — An object containing the transformed value. |
| |
| </td></tr></table></div><a name="mapCache()"></a><a name="mapCache(Array,String,String,Boolean)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">mapCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function mapCache(cache:Array, field:String, convertedField:String, indexValues:Boolean = false):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Converts a set of values of arbitrary type |
| to a set of numbers that can be transformed into screen coordinates. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">cache</span>:Array</code> — An Array of objects where converted values |
| are read from and stored. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">field</span>:String</code> — The field of the objects in the cache Array |
| containing the pre-converted values. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">convertedField</span>:String</code> — The field of the objects in the cache Array |
| where converted values should be stored. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">indexValues</span>:Boolean</code> (default = <code>false</code>)<code></code> — This parameter is <code>true</code> if the values being mapped |
| are index values, and <code>false</code> if they are natural data values. |
| |
| </td></tr></table></p></div><a name="preferDropLabels()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">preferDropLabels</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function preferDropLabels():Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Determines how the axis handles overlapping labels. |
| Typically, numeric ranges return <code>true</code>, |
| while discrete value-based ranges do not. |
| You can can override this property by setting it directly on the axis. |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> — <code>true</code> if labels can be dropped without loss of data; |
| otherwise, <code>false</code>. |
| |
| </td></tr></table></div><a name="reduceLabels()"></a><a name="reduceLabels(mx.charts.AxisLabel,mx.charts.AxisLabel)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">reduceLabels</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function reduceLabels(intervalStart:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a>, intervalEnd:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a>):<a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Invoked when an AxisRenderer is unable to cleanly render |
| the labels without overlap, and would like the Axis object |
| to reduce the set of labels. |
| The method is passed the two labels that are overlapping. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">intervalStart</span>:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a></code> — The start of the interval where labels overlap. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">intervalEnd</span>:<a href="../../../mx/charts/AxisLabel.html">AxisLabel</a></code> — The end of the interval where labels overlap. |
| </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code><a href="../../../mx/charts/chartClasses/AxisLabelSet.html">AxisLabelSet</a></code> — A new label set that resolves the overlap by reducing |
| the number of labels. |
| |
| </td></tr></table></div><a name="transformCache()"></a><a name="transformCache(Array,String,String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">transformCache</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function transformCache(cache:Array, field:String, convertedField:String):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| Maps a set of values from data space to screen space. |
| </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">cache</span>:Array</code> — An Array of objects where mapped values |
| are read from and stored. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">field</span>:String</code> — The field of the objects in the cache Array |
| containing the pre-mapped values. |
| </td></tr><tr><td class="paramSpacer"> </td></tr><tr><td width="20px"></td><td><code><span class="label">convertedField</span>:String</code> — The field of the objects in the cache Array |
| where mapped values should be stored. |
| |
| </td></tr></table></p></div><a name="update()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">update</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function update():void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 3</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 9, AIR 1.1</td></tr></table><p></p><p></p><p> |
| |
| Updates the chart. |
| This can be called multiple times per frame. |
| |
| </p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 --> |