Spotlight | Reviews | Current Issue | Academy | Newsletter | Subscribe | Shop |
Departments

Partner Links
Make your own website
WinWeb OnlineOffice
Comparing prices of hardware is worth it.
Price Comparison
What:
Where:
Country:
vacatures Netherlands njobs Linux vacatures
arbeit Deutschland njobs Linux arbeit
work United Kingdom njobs Linux jobs
Lavoro Italia njobs Linux lavoro
Emploi France njobs Linux emploi
trabajo Espana njobs Linux trabajo

user friendly

Admin Magazine

ADMIN Network & Security

Subscribe now and save!

 ADMIN - Explore the new world of system administration! ADMIN is a smart, technical magazine for IT pros on heterogeneous networks. Each issue delivers technical solutions to the real-world problems you face every day. Learn the latest techniques for better:

  • network security
  • system management
  • troubleshooting
  • performance tuning
  • virtualization
  • cloud computing

 on Windows, Linux, Solaris, and popular varieties of Unix.

http://www.admin-magazine.com/

  linux-magazine.com » Issues » 2008 » 97 » Google Chart  

Print this page. Recommend
Share

Chart Your Heart Out

The Google Chart API is simple to use and easy to integrate into web applications. As shown here, you can use the API immediately – just embed a static link in your web page and let the browser request and render a chart each time the page is drawn.

To speed page rendering, you can request and cache the chart image on your own server, recreating the chart only when the underlying data changes. In addition to providing better efficiency, this technique better protects your raw data. A visitor to your site cannot "View Source" and copy the URL.

Of course, you can also mix the Google Chart API with AJAX techniques to modify charts on the fly in response to user input. Chart Maker [6] is a basic but effective demonstration of dynamic charting; others have used the Google Chart API to implement a loan calculator and executive dashboards.

Of course, Google Chart is often slower than charting tools that run on the desktop, such as Apple Numbers or Microsoft Excel. These latter applications use native drawing engines and do not require an Internet round-trip to transmit data and download a large graphic image. However, Google Chart is a free application that is available from anywhere. If you are serious about using Google Chart in a production setting, pre-flighting and caching can greatly improve response time.

Infos

  1. The pChart graphing framework for PHP: http://pchart.sourceforge.net/
  2. The Google Charts API documentation: http://code.google.com/apis/chart/
  3. BeeTagg: http://www.beetagg.com/
  4. Google's free Zebra Crossing barcode reader library: http://code.google.com/p/zxing/
  5. A guide to encoding data in QR codes: http://code.google.com/p/zxing/wiki/BarcodeContents
  6. A simple Google Chart generator: http://almaer.com/chartmaker/
  7. The JFreeChart charting library: http://www.jfree.org/jfreechart/

Read full article as PDF » 057-059_google.pdf 317.50 kB


Comments


Print this page. Recommend
Share
Related Articles
GOOGLE GOBBLE
Letter from the Editor
Comment
Rikki's Open Source Exchange

Stop by Rikki's Open Source Exchange for dispatches from the world of women in open source.

Rikki Kite examines the experience of women across the spectrum of open source –
the people, projects, organizations, events, articles, issues, and news.

more...