In doing some research for a couple of projects, I came across
Open Flash Chart - which absolutely rocks! If you need to add a graph to your web application, this is definitely the way to go. Just thought I'd share.
NOTE: I have also offered a bit of a code change for easier programming in PHP for pie charts. The gradient aspect of their pie chart doesn't line up so well and wasn't as pleasing as I'd like (unlike the glass bar charts which are
cool). Change this snippet and you'll be able to adjust whether pie charts show a gradient graph or not:
Code:
function pie( $alpha, $line_colour, $label_colour, $gradient = true, $border_size = false )
{
$this->pie = $alpha.','.$line_colour.','.$label_colour;
if (!$gradient) {
$this->pie .= ','.!$gradient;
}
if ($border_size) {
if ($gradient === false) {
$this->pie .= ',';
}
$this->pie .= ','.$border_size;
}
}