PHPGraphLib 和 JpGraph 有什么区别?
我正在尝试生成要在网站上显示的简单条形图。我正在查看 PHPGraphLib 和 JpGraph。它们看起来相当具有可比性,并且通过正确的配置,它们可能会生成几乎相同的图表。有理由选择其中之一吗?两者之间有真正的区别吗?有没有我可能会忽略的替代方案?
I am trying to generate simple bar charts to be displayed on a website. I am looking at PHPGraphLib and JpGraph. They seem fairly comparable and with proper configuration they can probably produce nearly identical charts. Is there a reason to choose one over the other? Are there are any real differences between the two? Are there alternatives I may be overlooking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
PHPGraphLib 看起来更轻量级,但功能不如 JpGraph。如果您只看示例和文档,您就可以看到 JpGraph 做了多少事情。如果您的目标是轻量级并且不需要 JpGraph 提供的额外功能,那么请使用 PHPGraphLib。如果您希望生成的图表具有很大的灵活性,请使用 JpGraph。我已经使用 JpGraph 做了很多事情,它非常通用,你可以使用源代码中包含的大量示例来弄清楚如何做任何事情。
PHPGraphLib looks to be more light wieght, and not quite as capable as JpGraph. If you just look at the examples and the documentation, you can see how much more JpGraph does. If your goal is to be lightweight and you don't need the extras JpGraph offers, then go with PHPGraphLib. If you want to have a lot of flexibility in the graphs you can generate, go with JpGraph. I have used JpGraph for a ton of things, and its very versatile, and you can figure out how to do anything using the huge number of examples they include with the source.
jpGraph 的功能远多于 PHPGraphLib。另一方面,PHPGraphLib 更容易安装并且速度非常快。事实上,这是我唯一能够立即开始工作的。它仅由三个文件组成。我仍在与 jpGraph 和一些它找不到的 truetype 字体作斗争。如果 PHPGraphLib 有足够的功能供您使用,请务必使用它。我希望我能。
两者都是免费供个人使用,几百美元即可无限量使用服务器。相当不错,我认为开发商应该得到他们收取的费用。
jpGraph has far more capabilities than PHPGraphLib. On the other hand, PHPGraphLib is a lot easier to install and very fast. In fact, it is the only one that I was able to get to work immediately. It consists of only three files. I am still struggling with jpGraph and some truetype fonts that it cannot find. If PHPGraphLib has enough features for you, by all means, run with it. I wish I could.
Both of them are free for personal use, and a few hundred dollars for unlimited servers. Pretty good deal, and I think the developers deserve getting paid what they charge.