Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    use Excel::Writer::XLSX;
    *CSV = *DATA;   # makes CSV an alias to the __DATA__ section, so I can
    + add CSV data to the end of the script, rather than creating a separa
    +te file; you will not want this line in your application
    
  2. or download this
    __DATA__
    freq,b xtalk
    ...
    200,2.00E-05
    500,5.00E-05
    1000,1.00E-04
    
  3. or download this
    Can't use string ("solidfill") as a HASH ref while "strict refs" in us
    +e at c:/usr/local/apps/berrybrew/perls/system/perl/site/lib/Excel/Wri
    +ter/XLSX/Chart.pm line 1158.
    
  4. or download this
    $chart->set_legend(
                position => 'overlay_top_right',
                fill => { color => 'red' },
              );
    
  5. or download this
    #$chart->set_legend({ 'font'=> { 'bold' => 1, 'italic' => 1}}); <<== t
    +aken from CPAN example, it generates error
    
  6. or download this
    $chart->set_legend( font => { bold => 1, italic => 1 } );
    
  7. or download this
    $chart->set_legend(
                position => 'overlay_top_right',
                fill => { color => 'red' },
                font => { 'bold' => 1, 'italic' => 1},
              );