程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> flex-Flex3 實驗fusionChart 中 總是遇到 loading chart. please wait.

flex-Flex3 實驗fusionChart 中 總是遇到 loading chart. please wait.

編輯:編程綜合問答
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中的數據全換成英文,仍照舊。

不知是什麼問題。

最佳回答:


已解決。
在設置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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved