View Single Post
  #1 (permalink)  
Old 11-04-2007, 01:03 AM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Admin
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (0)
TeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to behold
Flash Graphs for Many Languages

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;
         }

    }

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following 2 Users Say Thank You to TeraTask For This Useful Post:
HelloWorld (11-04-2007), Lee (11-04-2007)