i want to make bar chart,but i want to write dynamic text on bar itself.
This isn't specifically jQuery, but I found this graphics toolkit rather simple to use, as you can learn by example, and they have many examples to peruse.
I recommend Protovis for creating charts with JavaScript. See their home page at: http://vis.stanford.edu/protovis/
Google Provides Awesome Bar Chart Library. We followed Bar Chart tutorial in this tutorial we can get dynamic data from mysql and Plot dynamic Bar chart
jQchart
tufteGraph
drillDown
google Charts
I recently developed a small graphing library for fetching database data, process it with PHP and create Google Analytics style interactive graphs from it (uses flot to render the graphs on the client side).
It's basically a complete server/client solution to turning your database tables into graphs, and should be easy to integrate with Kohana (I've used it a lot with the Zend Framework).
Related
I want to implement a pentagonal shaped chart according to my historical data saved in database in PHP. In fact I want to use it in CakePHP.
Need yours help either by providing any chart api link or any library available online.
Thanks in advance.
These are called radar charts, not pentagonal charts.
You can use this Javascript library: http://www.amcharts.com/javascript/radar-chart/
Or use the pChart PHP library: http://pchart.sourceforge.net/documentation.php?topic=exemple8
You can do this easily (or advanced) with JPGraph. The library is free for non-commercial, open-source or educational use. An example on how to setup a radar graph with it can be found here.
I am looking for cross-platform data visualization solution.
It should ideally work in web browsers and by extension on Android and iOS devices.
To go into more detail, I'd like for the server side to be able to accept data via HTTP POSTs (XML, JSON, etc), and then allow for themeable output of these data via widgets (Drupal-like) such as meters, graphs, plain text etc.
The data types should be configurable and easily created/modified.
Here is a quick example:
I want to show temperature from a bunch of sensors as a graph. The sensors can POST the data to a main server and the server can then be called from a browser to display a chewed-up and configurable graph.
Thanks for your input guys!
A little searching on google would yield a lot of libraries, My favorite being a html5 one called Rgraph http://www.rgraph.net/
High charts is another excellent solution. http://www.highcharts.com/
These are both html5 based.
You can check the combination of google spreadsheet for the DB/backend and Google Visualization for the frontend visualization.
Google GData API has a nice set of client libraries that make writing POST data into Google Spraedsheet a very simple task. Check out: http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html#CreatingListRows
ListEntry newEntry = new ListEntry();
newEntry.getCustomElements().setValueLocal(tag, value);
ListEntry insertedRow = service.insert(listFeedUrl, newEntry);
On the other end, It is rather easy to use the JavaScript libraries of Google Visualization to extract and present data from a published spreadsheet. It has a wide range of widgets ready to use. If you are missing any specific widget, you can use any JS library with some manipulation of the JSON data.
For simple example on the ability to turn a Google Spreadsheet to a live chart check: http://code.google.com/apis/chart/interactive/docs/spreadsheets.html#Google_Spreadsheets_as_a_Data_Source
One web application of ours requires a feature of displaying charts in it. Basically we have to show different types of charts for different purposes such as pie charts to give information about some purpose,Bar charts for some other purpose whereas Complex charts for complex data.Note that this charts will be created dynamically depending on the data in the MySQL database so we cannot use simple images.
I have been told to read the integrate this feature in our application.I Google and found High-charts,Open Flash Chart 2,Google Charts. What should I use as I don't have experience of integrating charts.
I'd recommend taking a look at ZingChart. (I'm on the ZingChart team and your question popped up on my Google Alert).
We allow rendering of charts in both HTML5 and Flash. Many of our customers have migrated from all different libraries and tell us they really enjoy using our framework.
Check us out at http://www.zingchart.com
Feel free to send any questions/feedback to us at support[at]zingchart.com.
Best,
Andrew
The easiest ti implement is:
Only PHP based: / rendered by GD as image: pChart
Flash Based: FusionCharts: Both commercial and free versions are there with almost every kind of chart.
i need to make charts (pie and bar) and working with php data.
the data is JSON encoded.
what are the best ways to generate charts. i am right now looking at Google Chart api. is there anything better (read: easier) than this?
pChart ( http://pchart.sourceforge.net/) is a also pretty popular choice.
I've used it in the past with satisfaction.
If I have to find a new charting library/API I'd probably go with the Google Chart API, though.
google charts is nice, these are also excellent:
amcharts (amcharts.com)
open flash charts is one (http://teethgrinder.co.uk/open-flash-chart/)
xml/swf charts (http://www.maani.us/xml_charts/)
amcharts and xml/swf charts both have free versions.
The PEAR Image_Graph package is a very powerful tool to create graphs.
Check out the samples here http://pear.veggerby.dk/samples/.
Google Fusion is kind of new and does graphical representation of data.
http://tables.googlelabs.com/Home
http://code.google.com/apis/fusiontables/
http://googlecode.blogspot.com/2009/12/google-fusion-tables-api.html
If you're using jQuery,
JQuery Google Charting makes using Google Charts API very easy.
Also, Flot is very nice tool for plotting x/y charts, it does not provides pie charts, and lacks the concept of categories/datasets, but otherwise the most impressive.
how do i (after getting the right stock prices from a source) show it on a "live graph". i'm looking for a php/ajax toolkit that allows me to create that graph live?
is that the right thing to use or a flash based solution is better?
are there 3rdparty sites that offer to create live graphs given input data?
Highcharts is probably what you need.
I recently started a new project to simplify the construction of a graph when using php:
http://aloiroberto.wordpress.com/2010/02/04/highcharts-php-library/
Also, Google Charts or Open Flash Chart are concrete possibilities (the latter will require Flash).
you can have a look at JPGRAPH. It is a wonderful library for creating wide variety of graphs.
As far as ajax is concerned this library outputs the graph as a picture file, so you can easily send the required parameters using ajax and build the graph dynamically using ajax.
PHPlot also is a free library: http://phplot.sourceforge.net, but compared to JPGraph it's rather limited. It also delivers a picture so you could grab that via AJAX and display it.
Birdeye has some incredibly powerful graphing tools. Check out the Birdeye Explorer to get a sense of what you can do with it.