Openlaszlo里集成FusionChart的研究
来源:互联网 发布:mysql 查询语句图书 编辑:程序博客网 时间:2024/04/30 07:54
在Openlaszlo的论坛里可以找到关于FusionChart集成的相关例子,但是他对目前的FusionChartv3的支持不好。
论坛里一位版友给出了一个解决方案,但是哪得修改企业版本的源文件,唉。
I found one solution for the fusioncharts v3 suite. You need the fusioncharts v3 source code (included in the enterprise version, not in the evaluation version), and some flash edition utility.
In the file Init.as, you need to modify the next piece of code (lines 34 and 35):
var _chartWidth : Number = Stage.width;
var _chartHeight : Number = Stage.height;
with this:
var _chartWidth : Number = (rootAttr ["chartwidth"]);
var _chartHeight : Number = Number (rootAttr ["chartheight"]);
The next step is to export the .fla file to swf for every chart needed (with the flash utility). Then you can use the same fusioncharts.lzx library used in the 2.3 version. I'm not sure if this change has some sort of side effects on the charts, but at least they are displayed properly.
For license reasons i cannot post the fusioncharts entire source code or any of the compiled swf.
- Openlaszlo里集成FusionChart的研究
- Openlaszlo里面集成FusionChart
- 深入研究FusionChart
- openlaszlo的体系结构
- FusionChart 的javascript 用法
- fusionChart的使用
- 关于fusionchart的若干问题
- fusionchart的简单封装
- FusionChart
- FusionChart
- fusionchart
- FusionChart
- FusionChart
- FusionChart
- FusionChart
- Fusionchart
- FusionChart
- 开发高效的 OpenLaszlo 应用
- 强类型ComboBox的实现方案
- OSGI学习笔记
- 双子天蝎,爱情是不老的传说
- 构造函数中显式的调基类构造函数
- Web文件的ContentType类型大全
- Openlaszlo里集成FusionChart的研究
- 点击左边frame里的链接在右边的frame里打开
- 写了几个WPF和msbuild入门的例子
- 温标发展过程
- MessageBox产生信息窗口在所有窗口最顶端的办法!
- 你信任你身旁的人吗?
- 中国车牌号的识别[全](转)
- How time fly!
- java的23种模式(生活版)