HOW TO CHANGE DEFAULT COLORS OF THE PIE CHART in EXCEL Programmatically using EPPLUS

Sep 1, 2014 at 11:03 AM
Hello All

CLICK_TO_SEE_THE_EXCEL_PIE_CHART_IMAGE

below is my code

var pieChart = worksheet.Drawings.AddChart("piechart", eChartType.Pie3D) as ExcelPieChart;
            //Set top left corner to row 1 column 2
            pieChart.SetPosition(18, 0, 0, 0);
            pieChart.SetSize(350, 300);
            pieChart.Series.Add(ExcelRange.GetAddress(12, 2, 15, 2),ExcelRange.GetAddress(12, 1, 15, 1) );
            pieChart.Legend.Position = eLegendPosition.Bottom;
            pieChart.Legend.Border.Fill.Color = Color.Green;
            pieChart.Legend.Border.LineStyle = eLineStyle.Solid;              
            pieChart.Legend.Border.Fill.Style = eFillStyle.SolidFill;
            pieChart.Title.Text = "Current Status";               
            pieChart.DataLabel.ShowCategory = false;
            pieChart.DataLabel.ShowPercent = true;
I want to change the default colors to the colors shown in the left side of image.

Suggest me some code, throw light on this.

Thanks in advance.