您的位置:BugFree > 论坛 > 技术支持 > BugFree Support[BugFree安装支持] > BugFree1.1所采用的报表解决方案
2007-02-10 21:15:29 BugFree1.1所采用的报表解决方案
#1
wwccss
访问次数 : 593
注册日期 : 05-05-01 10:08
上次访问 : 10-07-19 11:44
统计功能我们一直都在考虑增加,但之前一直没有比较好的解决方案。我们首先想到的是使用gd库,动态画图。但由于很多朋友的php环境并没有安装gd库,而gd库的安装又是一件比较麻烦的事情,如果是这样的话,会影响统计功能的实际使用情况。所以之前的版本我们都没有开发统计功能。

后来我们在网上发现了flash的报表解决方案,马上就被它所吸引了。相对于gd库的解决方案来讲,它不需要服务器安装什么环境,而且客户端基本上都支持,且报表都比较漂亮。开发起来也比较简单。几经选择之后,我们选择了FushionCharts免费的lite版本。它还有商业版本的,功能更加丰富,样式也更加绚丽多彩。不过lite版本可以随着开源软件进行发行,所以我们就捆绑了lite版本的flash。

flash的解决方案也有它的局限的地方,目前我们对它的编码机制还没有完全搞清楚,有的网友可能会遇到乱码的情况。我们会继续研究它,逐渐的将统计功能完善。

关于具体的fusioncharts的帮助和说明,大家可以访问它们的官方网站:
官方网站:http://www.infosoftglobal.com/FusionCharts/Lite/Default.asp?gMenuItemId=1
Lite版本: http://www.infosoftglobal.com/FusionCharts/Lite/Gallery.asp
回帖
2007-03-16 04:27:07
#2

访问次数 :
注册日期 : 70-01-01 07:00
上次访问 : 70-01-01 07:00
The flash report is great. I am sorry I could not update my Bugfree to 1.1 as I made a lot of changes. Is that possible to tell me where I should change in 1.o version? I did some changes as below
1. Copy the fold Charts,
2. Copy the ReportBug.php
3. Copy the ReportBug.tpl & ReportChart.tpl into Template
4. Add /* Report name */ to /* Report chart colors. */ & /* Setting of ReportBug.php */ into English.php
5. Add Since /**
* Create xml data used by FusionCharts flash. to the end into Functionmain.inc.php,

Now, The BugReport.tpl works fine, but bugChart.tpl could not load the graphic. Could you please advise me where I shoul do more change?

Thank you
回帖
2007-03-19 15:55:17
#3
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
我是从1.0升上来了,但是报表不能用,请大家帮我分析会是什么原因呢
回帖
2007-03-19 15:57:07
#4
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
我的升级方法是把新下的bugfree1.1的包直接替换原来的包,并对ConfigBug.inc.php这个文件做了部分修改,但是1.1中的统计报表不可用
回帖
2007-03-20 04:44:16
#5

访问次数 :
注册日期 : 70-01-01 07:00
上次访问 : 70-01-01 07:00
Continue,

6. Copy fold \Include\Class\ChineseIconv,
7. Copy fold \Include\SetupBug.inc.php & FunctionsMain.inc.php

Now the graphic works.

If you want update your graphic this way, please do back up your files first.
回帖
2007-03-20 08:58:21
#6
wwccss
访问次数 : 593
注册日期 : 05-05-01 10:08
上次访问 : 10-07-19 11:44
great, congratulations!
回帖
2007-03-29 13:08:08
#7
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
你说的那几个文件我都有呢,但还是不行啊
回帖
2007-03-29 13:14:36
#8
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
4. Add /* Report name */ to /* Report chart colors. */ & /* Setting of ReportBug.php */ into English.php
5. Add Since /**
* Create xml data used by FusionCharts flash. to the end into Functionmain.inc.php,
英文不太好,不知跟实际操作是否相符
回帖
2007-03-29 13:31:53
#9
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
跟字符集有没有关系?
回帖
2007-03-30 04:11:18
#10

访问次数 :
注册日期 : 70-01-01 07:00
上次访问 : 70-01-01 07:00
You sould have no problem as mine. If you just copy the 1.1, the flash works fine on my computer. You may try it again.
回帖
2007-03-30 09:04:27
#11
wwccss
访问次数 : 593
注册日期 : 05-05-01 10:08
上次访问 : 10-07-19 11:44
会有关系的。fusionchart-lite版本还不支持utf-8,显示的版本和浏览器的编码相关。 我们和fusioncharts公司email联系过,他们正在开发支持utf-8本lite版本。到时候支持会更好一些。
回帖
2007-03-31 12:53:50
#12
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
哦那可能是那的关系吧,我现在用的是utf8
回帖
2007-04-23 10:45:42
#13
yddtlzg
访问次数 : 1
注册日期 : 07-03-19 15:54
上次访问 : 09-10-29 21:05
我现在的情况是这样的点每人提交的bug数时能出来一个图,但是显示汉字是乱码
回帖
2007-05-28 10:20:05
#14
hotgg
访问次数 : 41
注册日期 : 07-05-22 15:45
上次访问 : 09-10-29 21:05
[quote=yddtlzg]我现在的情况是这样的点每人提交的bug数时能出来一个图,但是显示汉字是乱码[/quote]
我的情況也是這樣,正在尋找答案中。。。

有人知道原因和解決辦法的,請到此說說,謝謝!!!
回帖