rafalszemraj / fabrication

Automatically exported from code.google.com/p/fabrication
2 stars 1 forks source link

Using amcharts(but no problem with charts in Flex sdk4) with fabrication #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there any bug using amcharts in flex development when i am loading 
flexModule dynamic?
case' my application has many independency bussiness to complement,so i make up 
my program with modules,which has deference function.....
then i  found that one of my report module got problem when i using AmXYChart, 
and the error message is:

TypeError: Error #1009: �� 
法访问空对象引用的属性或方法。(this is mean NullPoint error)
    at com.amcharts.chartClasses::AmCoordinateChart/chooseGraphColor()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\chartClasses\AmCoordinateChart.as:519]
    at com.amcharts.chartClasses::AmRectangularChart/updateGraphs()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\chartClasses\AmRectangularChart.as:477]
    at com.amcharts::AmXYChart/zoomChart()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\AmXYChart.as:577]
    at com.amcharts::AmXYChart/zoomOut()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\AmXYChart.as:490]
    at com.amcharts::AmXYChart/updateData()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\AmXYChart.as:194]
    at com.amcharts.chartClasses::AmChart/commitProperties()[D:\projects\flex\amChartsSourcesGumbo\src\com\amcharts\chartClasses\AmChart.as:264]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7933]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:730]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]

when i debuging ,step by step,then i lost at 
com.amcharts::AmXYChart/zoomChart()[D:\projects\flex\amChartsSourcesGumbo\src\co
m\amcharts\AmXYChart.as:577

is there any body could help me out? 
thanks a lot

Original issue reported on code.google.com by mzhosop...@163.com on 25 Nov 2010 at 9:12