[关闭]
@cpt 2015-05-18T10:27:12.000000Z 字数 2446 阅读 1314

pChart | a PHP CCharting to build charts

翻译


原文 http://pchart.sourceforge.net

概述:pChart 是一个 PHP 类库用来创建各种图表,可从 SQL 查询、CSV 文件以及手工提供图表的数据来源。强项是图表的渲染质量,该项目开发活跃,每周都有新特性和 bug 修复。

首页译文

疑难句

Focus has been put on rendering quality introducing an aliasing algorithm to draw eye candy graphics. Rendering speed has been dramatically enhanced since the first version, we'll still continue optimising the code!
    重点被放在了通过引入一种混淆算法来绘制eye candyy 图像以达到高质量渲染的目的。自first version开始,渲染速度就得到戏剧性的增强,但我们仍将坚持优化代码。

To run pChart on your web server, you'll need to use PHP compiled with the GD library support.
    要在你的web站点上运行pChart,你需要使用使得你的PHP得到已经编译过的GD库的支持。(意思就是PHP要支持GD库扩展)

Saving web server speed and CPU is something that matter to us. We've created the pCache class to help you dealing with the fact that a chart can be computed once and displayed many times by different users. The pCache class can be used to simplify server side cache management. In green, the normal process : retrieve data, compute and display, in orange the cost saving path, retrieve the data, check if we have already computed it and display it! 
    通常保证web服务器的响应速度和CPU的处理速度对我们来说很重要。为此我们创建了pCache类来帮助你实现图表在被不同用户使用的时候只计算一次,但能多次展示的功能。pCache类可以被用于简化服务器段的缓存管理。在Green状态下,正常进程进行数据的检索、计算和调用,在orange状态下,the cost保存路径,检索数据,并核对我们是否已经计算和调用了图表。

The documentation is trying to explain how to use, adapt and bring to production pChart scripts. Exemples are covering basic usage or highlighting specific features, we invite you to try by yourself. If you can't find any solution to your issues in this documentation, please use the sourceforge forums. 
    这份文档尝试去解释怎样去使用、适应和引入pChart到你的产品中。例子演示已经覆盖了基本用法或者高亮的特性用法,我们邀请你自己去尝试一下。如果你不能在这份文档中找到关于你的问题的任何解决方案,请到sourceforge论坛查找。

Before thinking doing graphics you must understand the Data Structure used by the pChart library. You'll find all the informations here. To help you dealing with your data transformation we've made the pData.class. The use of this class is up to you, if you feel comfortable dealing with array you can skip it. 
在思考制作图表之前你必须理解pChart使用的数据结构。你可以在这里查找到所有的信息。为了帮助你解决数据传输的问题我们提供了pData.class这个类文件。这个类的使用就看你自己如何使用了,如果你感觉不需要用到它,你可以跳过它,不用关心其他的。

Sourceforge is offering a service to monitor when package are updated, this is a great way to be notified everytime a new release of pChart is available. To activate this functionality click on the following link 。
Sourceforge提供监控服务当包被更新的时候,这是一个通知的好方法当每次一个新的pChart release可用的时候。你可以点击下面的链接来激活这个功能。

关键词
optimise 优化
CSV

在计算机中,CSV(逗号分割)文件是一系列ASCII文本行组成的一张表中的值,它们使用逗号分割每一个项目(列)的值,用新行来表示一组新数值的开始,这里有一个例子:
Doe,John,944-7077
Johnson,Mary,370-3920
Smith,Abigail,299-3958
(etc.)
CSV文件是从其它任何表收集数据,以便将它作为另外一些表定向应用程序,如关系型数据输入的一种手段。Microsoft Excel,一个处于主调地位的报表和关系型数据库应用程序,就能够读取CSV文件。CSV文件有时也指一份普通文件。

aliased charts 图表
retrieve 检索
activate 激活
monitor 监控

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注