Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Setting size of chart through Excel::Writer::XLSX

by jmcnamara (Monsignor)
on Apr 04, 2012 at 21:53 UTC ( #963541=note: print w/replies, xml ) Need Help??


in reply to Setting size of chart through Excel::Writer::XLSX

You can set the size of an embedded chart in Excel::Writer::XLSX by adjusting the x/y scales in insert_chart():

# Scale the width by 120% and the height by 150% $worksheet->insert_chart( 'E2', $chart, 0, 0, 1.2, 1.5 );
See the insert_chart() section of the documentation.

--
John.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963541]
help
Chatterbox?
[Eily]: hu, it came with 5.22 ...
Discipulus win32 is the vietnam of envs..
[Eily]: what's your perl version Discipulus ?
[karlgoethebier]: Eily, Discipulus : IMHO it's worth to ask in SoPW
[Discipulus]: dunno, it is the damned doublequote issue, i think
[karlgoethebier]: Eily: ah, i have v5.24.1

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-07-21 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.