Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - GraphView (free graph component)

GraphView (free graph component)

Quickly share your Android Code Snippets here...

GraphView (free graph component)

Postby arnodenhond » Mon Mar 30, 2009 7:49 pm

GraphView is a View subclass which allows you to easily create simple graphs.
The graph automatically scales according to the lowest and highest value.
Labels are displayed along the X and Y axes.

Get the source code here:
http://android.arnodenhond.com/components/graphview

See GraphView in action! Download CashLog from the market for free.
Attachments
GVLine.jpg
GraphView in Line mode
GVLine.jpg (31.1 KiB) Viewed 2715 times
GVBar.jpg
GraphView in Bar mode
GVBar.jpg (25.27 KiB) Viewed 2715 times
Last edited by arnodenhond on Sun Jun 05, 2011 7:25 pm, edited 1 time in total.
User avatar
arnodenhond
Junior Developer
Junior Developer
 
Posts: 17
Joined: Mon Mar 30, 2009 7:14 pm
Location: netherlands

Top

Re: GraphView (free graph component)

Postby sureshgandham » Mon Nov 01, 2010 3:08 pm

hi......could any body tell me how to create graph in android
whats the exact process
sureshgandham
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Oct 24, 2010 9:14 am
Location: hyderabad

Re: GraphView (free graph component)

Postby alpesh » Thu Nov 11, 2010 10:47 am

You will find above code

In code it creates a dynamic view like

float[] values = new float[] { 2.0f,1.5f, 2.5f, 1.0f , 3.0f };
String[] verlabels = new String[] { "great", "ok", "bad" };
String[] horlabels = new String[] { "today", "tomorrow", "next week", "next month" };

You can pass you own value on String array
alpesh
Developer
Developer
 
Posts: 25
Joined: Wed Oct 06, 2010 6:22 am
Location: Ahmedabad - gujarat - india

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 4 guests