Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Excel::Writer::XLSX - pie chart legend's color

by jmcnamara (Monsignor)
on Sep 28, 2012 at 08:48 UTC ( #996141=note: print w/ replies, xml ) Need Help??


in reply to Excel::Writer::XLSX - pie chart legend's color

It is possible to define chart colors for most types of Excel::Writer::XLSX charts via the add_series() method.

However, Pie charts in Excel are a special case since each pie segment is actually a point and there isn't currently any way in Excel::Writer::XLSX to define colors for individual points.

The set_style() method, which you are using, is currently the only way of changing Pie chart colours.



--
John.


Comment on Re: Excel::Writer::XLSX - pie chart legend's color
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-07-06 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (69 votes), past polls