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
Mar 09, 2010 @ 16: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.

tagged: scalable vector graphic ezcgraph svggraph tutorial svg

Link:

Kore Nordmann's Blog:
ezcGraph introduction article
Jan 11, 2007 @ 19:56:58

Kore Nordmann points out an article that he's written up about the new ezcGraph component as a part of the eZ Component system.

From the article over on ez.no:

Among the additions to the latest eZ Components 2006.2 release is the Graph component, which enables you to create bar, line and pie charts. The output driver mechanism allows you to create different image file types from each chart, and the available renderers make the chart output customizable from simple two-dimensional charts to beautiful three-dimensional data projections.

His introduction covers what the functionality of the component is, what chart types you can make with it (with code examples), and the options for customization it makes possible. He also includes links to a tutorial on its use and the API documentation for you to pick through.

tagged: ezcomponent ezcgraph component chart graph article ezcomponent ezcgraph component chart graph article

Link:

Kore Nordmann's Blog:
ezcGraph introduction article
Jan 11, 2007 @ 19:56:58

Kore Nordmann points out an article that he's written up about the new ezcGraph component as a part of the eZ Component system.

From the article over on ez.no:

Among the additions to the latest eZ Components 2006.2 release is the Graph component, which enables you to create bar, line and pie charts. The output driver mechanism allows you to create different image file types from each chart, and the available renderers make the chart output customizable from simple two-dimensional charts to beautiful three-dimensional data projections.

His introduction covers what the functionality of the component is, what chart types you can make with it (with code examples), and the options for customization it makes possible. He also includes links to a tutorial on its use and the API documentation for you to pick through.

tagged: ezcomponent ezcgraph component chart graph article ezcomponent ezcgraph component chart graph article

Link:


Trending Topics: