How to create chart in perl using Spreadsheet::WriteExcel

C

cyrusgreats

I'm trying to create a chart in perl, does anyone knows how . Here is
portion of the code:

my $workbook = Spreadsheet::WriteExcel->new($file);
my $worksheet = $workbook->add_worksheet("Chart");
.....some other code....
$worksheet->set_row(1,20);
$worksheet->set_column('E:E', 20);
$worksheet->embed_chart('E2', $out); <== Here it creates a chart but
no data/chart displayed.

It creates it but no value or any info displayed, I should mentioned
that there are already values in column E say from E2:E55 that I want
to make a chart/graph out of it, name a title for the chart, legend
and able to choose different chart type, can some one help me out on
this....Thanks in advance..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top