not sure how to do it. is there an example?
thanks Michael VanDaniker wrote: > > You have to tell your AxisRenderer which axis it should render by > setting the axis property. > > --- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote: >> >> >> Hi All, i have flex2 code, and now shows warnings in flex 3 >> >> for example, >> >> <mx:CartesianChart ....> >> ::: >> <mx:horizontalAxisRenderer> >> >> <mx:AxisRenderer styleName="noAxisStyle" /> >> </mx:horizontalAxisRenderer> >> ::: >> </mx:CartesianChart> >> >> will shows warning: >> >> 'horizontalAxisRenderer' has been deprecated. Please use >> 'CartesianChart.horizontalAxisRenderers' >> >> I don't know what to do so i just change <mx:horizontalAxisRenderer> to >> <mx:horizontalAxisRenderers> >> >> it compiled but it gives me runtime error as following. so i must miss >> something. what is it? >> >> thanks!! >> c >> >> >> Error: Property axis is not set for this AxisRenderer >> at >> > mx.charts::AxisRenderer/measureLabels()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\AxisRenderer.as:1738] >> at >> > mx.charts::AxisRenderer/adjustGutters()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\AxisRenderer.as:1364] >> at >> > mx.charts.chartClasses::CartesianChart/updateAxisLayout()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:2019] >> at >> > mx.charts.chartClasses::CartesianChart/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1355] >> at >> > mx.core::UIComponent/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:6214] >> at >> > mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602] >> at >> > mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:657] >> at Function/http://adobe.com/AS3/2006/builtin::apply() >> at >> > mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460] >> at >> > mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403] >> >> >> >> -- >> View this message in context: > http://www.nabble.com/deprecated-horizontalAxisRenderer-tp18900354p18900354.html >> Sent from the FlexCoders mailing list archive at Nabble.com. >> > > > > -- View this message in context: http://www.nabble.com/deprecated-horizontalAxisRenderer-tp18900354p18900481.html Sent from the FlexCoders mailing list archive at Nabble.com.