Using the Flex SDK 4.1 fixes the issue.
I use SDK 4.1 but I also get the error: (Flashbuilder 4.0.1 in Flex 3 compatibility mode)
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles()[E:\dev\4.0.0\frameworks \projects\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:2598]
at mx.charts.chartClasses::CartesianChart/commitProperties()[E:\dev\4.0.0\frameworks\project s\datavisualization\src\mx\charts\chartClasses\CartesianChart.as:1360]
at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:700]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
So I guess it is not solved....
I tried the same sample from http://www.codigoactionscript.org/langref/as3/mx/charts/DateTimeAxis.html#includeExamplesS ummary but I am not able to reproduce the issue.
I am using released Flash Builder 4.0.1 (277662) and released 4.0.1 SDK (16076).
If you are seeing the issue with same sample please give us the SDK build number that you are using. Build number can be found in flex-sdk-description.xml under that SDK.
If you are seeing the issue with same SDK but with a different sample, please provide us the sample.
You are right it is working, I had problems with my build environment.
Thanks a lot.
I was having the same problem, so switching to SDK 4.1solve the error 1009.
Im now having all kinds of mirorring issues, mostly in panel and dropdown which are align rightToLeft.
Any idea how to fix those issues ?