Changing the resolution and updating the values, title of the chart create a error msg.

7 views
Skip to first unread message

Sachin

unread,
Nov 28, 2012, 1:48:21 AM11/28/12
to flex_...@googlegroups.com

When I go to lower resolution and update the values of the chart it popups the error like below. Since i m working on dashboard project, the chart screens will be in small size. It will work fine when i remove the Title or reducing the the size of the title or keeping small title. Is there any way it will auto adjust its fontsize according to chart Axis Length.


TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.chartClasses::ChartLabel/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\charts\chartClasses\ChartLabel.as:262]
at mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6351]
at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:677]
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]

Sonali P

unread,
Nov 28, 2012, 2:24:14 AM11/28/12
to flex_...@googlegroups.com
Can u share your code for the chart ?



--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To view this discussion on the web visit https://groups.google.com/d/msg/flex_india/-/O8fg_z0CoRkJ.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Reply all
Reply to author
Forward
0 new messages