in reply to Re: add_chart_ext does not work when compressed
in thread add_chart_ext does not work when compressed
Thanks for your reply! Below is the code that generates the error, if the user selects not to include a graph in the excel file (i.e. $graph==0) the error does not appear. I guess that means that it has to be the add_chart_ext command that generates the error
if ($graph==1) { #Write values for run chart $hidden_worksheet->write(0,$stab_column_end+1,"Time"); $hidden_worksheet->write_col(1,$stab_column_end+1,\@time_data) +; $hidden_worksheet->write(0,$stab_column_end+2,"Speed 1"); $hidden_worksheet->write_col(1,$stab_column_end+2,\@speed_1_da +ta); $hidden_worksheet->write(0,$stab_column_end+3,"Speed 2"); $hidden_worksheet->write_col(1,$stab_column_end+3,\@speed_2_da +ta); $hidden_worksheet->write(0,$stab_column_end+4,"Speed 3"); $hidden_worksheet->write_col(1,$stab_column_end+4,\@Speed_3_da +ta); #Add run chart my $run_chart = $workbook->add_chart_ext('.\charts\run_chart.b +in',"Step response run"); $worksheet->store_formula('=Hidden data sheet!A1'); }
There's alot more code generating a bunch information in the excel sheet before this snippet is executed, I don't know if that could affect anything. Furtheron, I have ensured that I have the bin-file run_chart at the indicated path.
Is there anything I'm doing wrong here?
Thank you in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: add_chart_ext does not work when compressed
by jmcnamara (Monsignor) on Apr 21, 2011 at 09:32 UTC | |
by Anonymous Monk on Apr 21, 2011 at 09:49 UTC | |
by jmcnamara (Monsignor) on Apr 21, 2011 at 11:21 UTC | |
by Anonymous Monk on Apr 22, 2011 at 05:36 UTC | |
by samuelalfred (Sexton) on May 03, 2011 at 06:58 UTC | |
|