BIRT:图表 API 入门
因此,我需要一些有关 BIRT 图表 API 的简单指南。
我正在尝试绘制一个随时间变化的数值的简单折线图。我有一个(日期,双)对向量作为输入。我已经阅读了 org.eclipse.birt.chart.examples 中的示例,但尚未获得足够的 API 吸引力以开始使用它。只是编写一个 org.eclipse.birt.chart.model.impl.ChartWithAxesImpl 就让我难住了。
最终的目标是 Eclipse 编辑器,而我可以做到。有没有人可以推荐的教程或书籍可以让我继续使用 BIRT 图表?
我应该非常感激
M。
So I need a few simple pointers with the BIRT chart API.
I am trying to draw a simple line chart of a numeric value over time. I have a vector of (Date,Double) pairs as input. I have read through the examples in org.eclipse.birt.chart.examples but not yet gained enough traction with the API to start making use of it. Just composing a org.eclipse.birt.chart.model.impl.ChartWithAxesImpl has me stumped.
The eventual destination is an Eclipse editor, and that I can do. Is there a tutorial or book anyone can recommend that might get me going with the BIRT chart side?
I should be very grateful
M.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
出色地。有这个例子:http://www.eclipse。 org/articles/article.php?file=Article-BIRTChartEngine/index.html
但我在实际让它自己工作时遇到了一些问题。我最终得到的只是一个这样的例外:
Well. There is this example: http://www.eclipse.org/articles/article.php?file=Article-BIRTChartEngine/index.html
But I am having some problems actually getting it to work myself. All I end up with is an exception like this:
我对 org.eclipse.birt.chart.examples 中的示例也遇到了同样的问题。有一些很好的 java 代码片段,但您看不到它们对应的内容。这就是为什么我决定生成所有示例并将它们放在网站上:BIRT Charts Gallery< /a>.
I had the same trouble with the examples from
org.eclipse.birt.chart.examples
. There are some good java code snippets, but you do not see to what they correspond. This is why I decided to generate all the examples and put them on a web site: BIRT Charts Gallery.