jacky_yang_731 2013-07-25 04:28 采纳率: 100%
浏览 4455
已采纳

Flex3 实验fusionChart 中 总是遇到 loading chart. please wait.

Flex3 实验fusionChart 例子中 总是遇到 loading chart. please wait.然后就不动了。

1,起初怀疑是data provider 没有在chart render 时 设置好, 于是 listen to chart onCreationComplete(), debug看到data provider 是设置好的。

2,查验 mx 与 spark 的区别。并没有本质区别。

3,怀疑是中文显示问题,于是将arraycollection中的数据全换成英文,仍照旧。

不知是什么问题。

  • 写回答

1条回答

  • jacky_yang_731 2013-07-25 07:06
    关注

    已解决。
    在设置flex builder 3 环境时不仅仅需要把fusionChart.swc 作为library 加到project lib里也要将fusioncharts/ 和 fusionwidgets/加到project/scr里。

    英文文档步骤:

    Steps to Follow

    The following steps will guide you through the process of integrating FusionCharts for Flex with Flex Builder 3:

    Note: These instructions assume that Flex Builder 3 is set to default configuration.
    1. Click File » New » Flex Project from the 'File' menu to create a new Flex project.
    2.Copy the FusionCharts.swc Shockwave Component from the DISTRIBUTION_ROOT/Charts/swc/FlexSDK3 folder to PROJECT_ROOT/libs folder. The DISTRIBUTION_ROOT is the location where you have downloaded and extracted the FusionCharts for Flex archiv![CSDN移动问答][1]e.
    3.Copy fusioncharts and fusionwidgets folders from the DISTRIBUTION_ROOT/Charts folder to PROJECT_ROOT/src folder. These folders contain all the Flash chart/widgets objects.

    The FusionCharts.swc file acts as the library for both FusionCharts and FusionWidgets. It adds FusionCharts and FusionWidgets custom components to the Components window. The FusionWidgets functionality was added to the SWC in version 1.1.

    Once you have added the FusionCharts for Flex module to your Flex project, the resulting folder structure will look similar to the figure given below:

    folder structure

    Note: Here, we have created a project named FusionCharts. So, an MXML file of the same name will automatically be created in the src folder.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥30 python代码,帮调试,帮帮忙吧