Click here to Skip to main content
15,562,015 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I have data from database and i want to draw line graph in andriod but i don't have any idea how to draw graph in andriod pls help me


Thank you in advance!!
Posted

Just make a grid of static lines with textboxes and then graph the line between two points that would be off-screen so all the user sees is the line.
 
Share this answer
 
You will need to create a canvas and draw/plot the lines on it or you can use a library that already does it for you.

These include

ChartDroid
AndroidPlot
AChartEngine
GraphView
Java Charts for Android
+ more

I've only looked at GraphView quickly and it seems easy to use but don't let that sway you.

/Darren
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900