Hi All
i am having above error in my column chart axis renderer and unable to
figure out where the problem is.
Error -
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at mx.charts::AxisRenderer/calcStaggeredSpacing()[C:\Work\flex
\dmv_automation\projects\datavisualisation\src\mx\charts
\AxisRenderer.as:2195]
at mx.charts::AxisRenderer/calcRotationAndSpacing()[C:\Work\flex
\dmv_automation\projects\datavisualisation\src\mx\charts
\AxisRenderer.as:1586]
at mx.charts::AxisRenderer/adjustGutters()[C:\Work\flex\dmv_automation
\projects\datavisualisation\src\mx\charts\AxisRenderer.as:1326]
at mx.charts::AxisRenderer/set gutters()[C:\Work\flex\dmv_automation
\projects\datavisualisation\src\mx\charts\AxisRenderer.as:798]
at mx.charts.chartClasses::CartesianChart/updateAxisLayout()[C:\Work
\flex\dmv_automation\projects\datavisualisation\src\mx\charts
\chartClasses\CartesianChart.as:2028]
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()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/validateNow()
at mx.effects.effectClasses::TweenEffectInstance/onTweenEnd()
at mx.effects.effectClasses::ResizeInstance/onTweenEnd()
at mx.effects::Tween/endTween()
at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/
internal::doInterval()
at mx.effects::Tween$/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Axis renderer code
<mx:AxisRenderer
labelRotation="{Application.application.xAxisLabelRotator.value}"
axis="{myAxis}"
labelAlign="center"
showLabels="true"
canDropLabels="false"
/>
if i put canDropLabels="false" to "true" then it not shows the error
but i need it should not drop the labels.
with thanks and warm regards,
Varun Bajaj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---