BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-11-2009, 03:54 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Model: 7100i
PIN: N/A
Carrier: Dont know
Posts: 195
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Drawing graph / charts in Blackberry application

Please Login to Remove!

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.
Offline  
Old 10-22-2009, 12:17 PM   #2 (permalink)
New Member
 
Join Date: Oct 2009
Model: 8330
PIN: N/A
Carrier: Vodafone India
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Offline  
Old 10-22-2009, 12:29 PM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

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.
Offline  
Old 10-26-2009, 07:54 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Drawing graph / charts in Blackberry application

You can do this in paint method and by using drawLine for graph and fillrect for chart.
__________________
Crazy for BlackBerry
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New MF-110A MINI Electric AC/DC OHM Voltmeter Ammeter Multimeter Multi Tester
$5.25
New MF-110A MINI Electric AC/DC OHM Voltmeter Ammeter Multimeter Multi Tester pictureLCD Digital Multimeter Ammeter Voltmeter Ohmmeter Current Tester Blue Multimeter
$0.01
LCD Digital Multimeter Ammeter Voltmeter Ohmmeter Current Tester Blue Multimeter picture50A RED LED DIGITAL SOLAR PANEL GAUGE AMP METER AMMETER 4 BOAT TRUCK MPV SUV RV
$14.99
50A RED LED DIGITAL SOLAR PANEL GAUGE AMP METER AMMETER 4 BOAT TRUCK MPV SUV RV pictureROYAL ENFIELD BULLET AMMETER AMP WHITE FACED 12 VOLT 
$10.07
ROYAL ENFIELD BULLET AMMETER AMP WHITE FACED 12 VOLT  pictureROYAL ENFIELD AMMETER & LIGHT SWITCH RUBBER RING 140248
$3.46
ROYAL ENFIELD AMMETER & LIGHT SWITCH RUBBER RING 140248 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.