开发者

BlackBerry - SVG (JSR 226) or OpenGL ES (JSR 239) charting library

Does anyone know of a library to display开发者_如何学C charts and graphs natively on blackberry devices ? There are quite a few javascript (Flot...) charting libraries but I'd rather use something similar to Coreplot on iPhone if it is possible. I didn't find anything on top of SVG (JSR 226) or open GL ES (JSR 239) so any help is appreciated.

Ideally, I'd like to be able to:

  • draw Bar Charts (both vertical and horizontal)
  • draw Stacked bar charts
  • draw Pie charts
  • drill-down one level on each bar or pie section to get corresponding information


Initially we have tried creating reporting graphs using OPENGL and also have searched for other third party libraries but as like you, it was of no use for us too

We have used the graphics object of the paint method to draw each graphs(pie bar both vertical and horizontal) pie is drawn using the fillarc() method and bar by the drawline() you can also drill down each section of a pie chart using our coordinate geometry

for example - if you are using touch mobiles get the pixel of the touch points calculate the slope between the touch points and center and distance if it satisfies increase the radius of the sector(arc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜