Help for this page

Select Code to Download


  1. or download this
    # Your SQL here.
    while (my ($timestamp, $field1, $field2, $field3)=$sth->fetchrow_array
    +() {
    ...
        push @data2, $field2;
        push @data3, $field3;
    }
    
  2. or download this
        my $graph = GD::Graph::mixed->new($x_size, $height);
        my @data=([@timeline],[@data1],[@data2],[@data3]);
    ...
        binmode STDOUT;
        print $gd->jpeg(100);
    }