News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Creating Scalable Vector Graphs with PHP
March 09, 2010 @ 10:27:54

A new tutorial has been posted to the Zend Developer Zone today looking at making scalable vector graphics with PHP and the hep of one of two charting packages - ezcGraph or SVGGraph (examples are provided for both).

Programmatically generating graphs and charts using SVG requires a deep understanding of the SVG specification and the various SVG primitives, as well as a fair amount of time for research, experimentation and debugging. Or, in other words, that's your entire weekend shot! Fortunately, help is at hand. There are a number of open-source PHP libraries that support SVG chart generation, and using them can significantly reduce the amount of work involved in adding this feature to a Web application.

He shows how to create simple images like bar, line and pie charts as well as adding in other things like a legend, custom titles and a sample where the user can define the sizes of a pie chart via some form input fields. Screenshots are included for all code examples to give you a better idea of the end result.

0 comments voice your opinion now!
scalable vector graphic ezcgraph svggraph tutorial svg


blog comments powered by Disqus

Similar Posts

Piotr Walczyszyn's Blog: Configuring Eclipse PDT & Flash Builder 4 Plug-in for PHP/Flex development

DevShed: Reading, Writing and Creating Files in PHP

Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 1)

DevShed: Building Your Own Desktop Notepad Application Using PHP-GTK

PHPMaster.com: Extract Objects from an Access Database with PHP, Part 2


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant unittest community interview introduction php7 language example api podcast version laravel release laravel5 list series framework video opinion library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework