BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Drawing graph / charts in Blackberry application (http://www.blackberryforums.com/developer-forum/200520-drawing-graph-charts-blackberry-application.html)

BB1364 08-11-2009 03:54 AM

Drawing graph / charts in Blackberry application
 
Hi,

Can anyone please tell me how we can create a graph / chart in blackberry application. I am using JDE 4.2 and it seems there is no API for creating graphs. basically i need to create graphs depending on the values the user provides.

Please share your thoughts how i can create such app.


Thanks.

sudhakar98 10-22-2009 12:17 PM

I'm looking for the same. From whatever small googling that I've done, it looks like there is no direct control/API for chart creation in BlackBerry, however, the workaround is to develop a component using basic UI API's.

This forum is full of question and no answers? Where are those crackberry geeks? any other good forum?

Dougsg38p 10-22-2009 12:29 PM

On the BB platform, there is no high-level API to do this. You will have to create your own custom Field subclass that draws the graphs using the low-level Graphics routines.

See Field, Graphics, in the API docs.

renuka_anil 10-26-2009 07:54 AM

Drawing graph / charts in Blackberry application
 
You can do this in paint method and by using drawLine for graph and fillrect for chart.


All times are GMT -5. The time now is 09:05 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.