in reply to Re^2: Issues graphing multiple data sets on the same graph in GD::Graph
in thread Issues graphing multiple data sets on the same graph in GD::Graph
So, you can store the current values, like in a db, push on new arrays, and rebuild the graph.@users = ( [userexample[0]], [userexample[1]], [userexample[2]], ); @userexample[3] = (1,2,3,4); push @users, \@userexample[3]; # now # @users = ( # [userexample[0]], # [userexample[1]], # [userexample[2]], # [userexample[3]], # );
Read "perldoc perldsc" for a better explanation of all the possible Perl data structures. There are all sorts of data structures.... HoH, AoA,HoA,AoH,...etc., etc, etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Issues graphing multiple data sets on the same graph in GD::Graph
by SoaponaRope (Novice) on Nov 12, 2007 at 21:00 UTC |