your code shows in this way. $VAR1 = bless( [ [ 'Cleaned', 'Spam', 'Virus', 'Banned', 'BadHeader', 'Rejected' ], [ '10 ', '36 ', '0 ', '0 ', '0 ', '975 ' ] ], 'GD::Graph::Data' );
when I added below code instead. it shows in this way. It works as expected
my $data = GD::Graph::Data->new([ ["Cleaned","Spam","Virus","Banned","BadHeader","Rejected"], [10, 36, 0, 0, 0, 974], ]) or die GD::Graph::Data->error; $VAR1 = bless( [ [ 'Cleaned', 'Spam', 'Virus', 'Banned', 'BadHeader', 'Rejected' ], [ 10, 36, 0, 0, 0, 974 ] ], 'GD::Graph::Data' );
I think grep results with variables has UNWANTED Stuffs. How can avoid them? I tried, but no success. Pls discard my last mail since it has formatting issues.
In reply to Re^2: problem with show_values => 1, while drawing a bar graph with variables
by theravadamonk
in thread problem with show_values => 1, while drawing a bar graph with variables
by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |