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

Lorna Mitchell's Blog:
Adding Multiple Axis Labels to a Google Chart
Jan 06, 2011 @ 16:32:28

Lorna Mitchell has a tip for those using the Google Charts API to plot the data from their applications - a simple way to add multiple axis labels to the chart's output.

The axes in Google Charts are a bit interesting, because what they display bears absolutely no resemblance to what data is there - you label the axes separately, even if they are numbers. To label multiple things - in this example a scale and some units, you simply specify the axis more than once.

In her example it creates a bar graph that puts the values for "chxr" and "chxl" on the axis. The Google Charts API can be used to generate other sorts of dynamic graphs too including the traditional pie, line or scatter charts. It can also create things like QR codes and formula images, all on the fly.

tagged: google chart api multiple axis label dynamic generate

Link:

PHP-GTK Community Site:
Three Widgets and a Timer Class
May 31, 2007 @ 15:26:00

The PHP-GTK website has four new posts highlighting three different widgets and a Timer class to make working with delays in applications simpler:

Keep an eye on the Code Snippets section of the PHP-GTK website for more helpful tips and tricks.

tagged: timer codesnippet widget terminal dial scrolling label timer codesnippet widget terminal dial scrolling label

Link:

PHP-GTK Community Site:
Three Widgets and a Timer Class
May 31, 2007 @ 15:26:00

The PHP-GTK website has four new posts highlighting three different widgets and a Timer class to make working with delays in applications simpler:

Keep an eye on the Code Snippets section of the PHP-GTK website for more helpful tips and tricks.

tagged: timer codesnippet widget terminal dial scrolling label timer codesnippet widget terminal dial scrolling label

Link:


Trending Topics: