<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>kvnr</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/kvnr/" />
    <link rel="self" type="application/atom+xml" href="http://blogs.perl.org/users/kvnr/atom.xml" />
    <id>tag:blogs.perl.org,2009-11-03:/users/kvnr//1556</id>
    <updated>2012-09-27T08:38:26Z</updated>
    <subtitle>A blog about the Perl programming language</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.38</generator>

<entry>
    <title>Hi all i had tried to execute the following perl script to plot tha data but i am getting  ocate object method add_chart via package Spreadsheet::WriteExcel error can u help this ...!!!  </title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/kvnr/2012/09/hi-all-i-had-tried-to-execute-the-following-perl-script-to-plot-tha-data-but-i-am-getting-ocate-obje.html" />
    <id>tag:blogs.perl.org,2012:/users/kvnr//1556.3891</id>

    <published>2012-09-27T08:36:13Z</published>
    <updated>2012-09-27T08:38:26Z</updated>

    <summary>Hi all i had tried to execute the following perl script to plot tha data but i am getting ocate object method add_chart via package Spreadsheet::WriteExcel error can u help this ...!!! #!/usr/bin/perl -w use strict; use Spreadsheet::WriteExcel; use Spreadsheet::WriteExcel::Workbook;...</summary>
    <author>
        <name>kvnr</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/kvnr/">
        <![CDATA[<p>Hi all i had tried to execute the following perl script to plot tha data but i am getting  ocate object method add_chart via package Spreadsheet::WriteExcel error can u help this ...!!!  </p>

<p><br />
#!/usr/bin/perl -w</p>

<p>    use strict;<br />
    use Spreadsheet::WriteExcel;<br />
    use Spreadsheet::WriteExcel::Workbook;</p>

<p>    my $workbook  = Spreadsheet::WriteExcel->new( 'chart.xls' );<br />
    my $worksheet = $workbook->add_worksheet();</p>

<p>   my $chart     = $worksheet->add_chart_ext( type => 'column' );</p>

<p>    # Configure the chart.<br />
    $chart->add_series(<br />
        categories => '=Sheet1!$A$2:$A$7',<br />
        values     => '=Sheet1!$B$2:$B$7',<br />
    );</p>

<p>    # Add the worksheet data the chart refers to.<br />
    my $data = [<br />
        [ 'Category', 2, 3, 4, 5, 6, 7 ],<br />
        [ 'Value',    1, 4, 5, 2, 1, 5 ],<br />
    ];</p>

<p>    $worksheet->write( 'A1', $data );<br />
</p>]]>
        
    </content>
</entry>

</feed>
