Color of plot area
C++ library for creating XLSX files for MS Excel 2007 and above.
Brought to you by:
oxod,
programmeralex
Hello I have a new feature to lib: Setting a color of plot area in chart;
Add new enum in chart.h
New attributes in struct Diagramm
Change constructor
Add new public method in CChart
And add code in Chart.cpp in CChart::Save() between lines(194) AddTableData( xmlw ); and xmlw.End( "c:plotArea" );
SolidFill is easy, others are not.
Hi,
Thanks for one more useful improvement.
I will add it to the new version of the library.
Also I'll think about how to make a gradient and pattern fills.
I also think about it in my free time. If I have something, I will write it.
Hi,
I added a gradient fill and pattern fill. Please see CChart::SetPlotAreaFillxxx and CChart::SetChartAreaFillxxx methods for this.
Any feedback and comments are welcome.
Reference:
http://officeopenxml.com/drwSp-GradFill.php
http://officeopenxml.com/drwSp-PattFill.php
Wow, I must test it :)
I would be grateful to you for test and results :-)