Don't ask to ask, just ask | |
PerlMonks |
Re: Excel::Writer::XLSX - pie chart legend's colorby jmcnamara (Monsignor) |
on Sep 28, 2012 at 08:48 UTC ( [id://996141]=note: print w/replies, xml ) | Need Help?? |
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.
--
In Section
Seekers of Perl Wisdom
|
|