in reply to Issues with GD::Graph::Data

Any suggestions?

It's true, the array   "@data"   is actually empty at line 28.
You define it as empty with the statement   my @data;   and do nothing with it until line 28.
What you do is make use of an object called   "$data".  But that isn't the same or a part of your array "@data".

Cheers, Sören