MoshiachNow
IS-IT--Management
Hi,
With my following code the chart is created having 2 issues:
1.Sorted by rows and not columns
2.Instaed of Headers it shows as "serias",so headers are not taken in account.
Will appreciate advise.
thanks
========================
$Range->{Value} = \@alert1;
$Range->Font->{Bold} = 1;
#print STDOUT "A1:H1\n";
# Add data to spreadsheet
$Range = $Sheet->Range("A2:H10");
$Range->{Value} = \@Bars;
my $Chart = $Excel->Charts->Add;
$Chart->{ChartType} = '3';
#Line chart type
$Chart->SetSourceData({Source => $Range, PlotBy => 'xlColumns'});
$Chart->{'HasTitle'} = 1;
$Chart->ChartTitle->{Text} = "taskmon on $computer from $DATE8";
Long live king Moshiach !
With my following code the chart is created having 2 issues:
1.Sorted by rows and not columns
2.Instaed of Headers it shows as "serias",so headers are not taken in account.
Will appreciate advise.
thanks
========================
$Range->{Value} = \@alert1;
$Range->Font->{Bold} = 1;
#print STDOUT "A1:H1\n";
# Add data to spreadsheet
$Range = $Sheet->Range("A2:H10");
$Range->{Value} = \@Bars;
my $Chart = $Excel->Charts->Add;
$Chart->{ChartType} = '3';
#Line chart type
$Chart->SetSourceData({Source => $Range, PlotBy => 'xlColumns'});
$Chart->{'HasTitle'} = 1;
$Chart->ChartTitle->{Text} = "taskmon on $computer from $DATE8";
Long live king Moshiach !