Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Regular Contributor
Posts: 52
Registered: ‎02-26-2013
My Device: Curve 9650,Bold 9900
My Carrier: Airtel

How to create Line graph in blackberry.

I need to create a line graph in my application.i dont have any idea how to do this with api.

Any code reference will be helpfull .


I need to create a graph like this.


Posts: 121
Registered: ‎05-31-2012
My Device: 9900
My Carrier: Airtel

Re: How to create Line graph in blackberry.


You can refer to following link for different graphs- http://supportforums.blackberry.com/t5/Java-Development/Create-graph-fields/ta-p/444968

Rishikesh Singh
New Contributor
Posts: 6
Registered: ‎03-31-2014
My Device: 9900
My Carrier: Blackberry

Re: How to create Line graph in blackberry.

[ Edited ]



     I am new in BB programing, I want to plot some values in ghraphical format in my blackberry app.

     I am not able to do this.

     please any one can take out of this probelm. If possible please can any one sent me the java code regarding this.

     please help me, it's urgent.


     The above link is creating graph but I want some more functionality with graph and look n feel too.


Thanks in advance

Ashish Nimawat

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to create Line graph in blackberry.

Welcome to the forums.


The idea here is that we help each other out with assistance or ideas on specifc problems.  So if you have a problem with the code that you already have, then you can describe the problem and give us samples of it not working and we can help. 


Unfortunately this is not the place to learn how to program Java.  If you need this, then I would look to buying a book or going through the online documentation. 


Nor is it a place to ask people to write code for you.  Contributions to this forum are not paid for.  So if something is going to take a long time, this is not the right place to ask.  Instead look for a BlackBerry developer to hire. 


Sorry, I don't think your request is going to get much response on this forum.


I suggest that you create a sample chart using the package or similar methods, and then ask for help on specifics  about that chart.   Do this in your own Thread. 


One other alternative that I would consider is to use a Browser based charting package, and then use a BrowserField to display the charts.  There are a number of Javascript charting packages out there which work quite well on the newer BlackBerry phones - and some of them are free too!