Changing default legend colors

Oct 12, 2011 at 12:38 PM
Edited Oct 12, 2011 at 3:37 PM


Currently using release 63267. There have been some enhancements about the chart styling.

However, when I change the color of the columns ina Bar3D graph, the legend is not taking them into consideration.

For example:



foreach ( $year as $key => $col_row )
				                 ->setStartColor(new PHPPowerPoint_Style_Color('FFdeebf9'))
				                 ->setEndColor(new PHPPowerPoint_Style_Color('FFa6caf0'))

				                 ->setStartColor(new PHPPowerPoint_Style_Color('FFdcebdc'))
				                 ->setEndColor(new PHPPowerPoint_Style_Color('FFc1ddc1'))



These are blue and green colors.

The legend is still using the default Chart colors : blue, red...etc.

Is there a way to modify the colors of the small legend rectangles ?