Received : 2007/10/15 08:18:12
Message : I am currently evaluating your Aspose.Cells product and it has been fairly easy to work with so far. However, I have recently run into an issue I cannot seem to get around.
I am trying to set the background color of a chart (plotarea). What ever I do does not make any change whatever. Here is the code I am using.
workbook.Worksheets.Charts.Add(Aspose.Cells.ChartType.Bar, 5, 1, 26, 10);
Excel.Chart chart = workbook.Worksheets.Charts;
chart.Type = Aspose.Cells.ChartType.Line;
chart.NSeries.CategoryData = "=Data!$A$1:$A$5";
chart.PlotArea.Border.IsVisible = false;
chart.SeriesAxis.IsVisible = false;
chart.MajorGridLines.IsVisible = false;
chart.PlotArea.Area.BackgroundColor = Color.Red;
This message was posted using Aspose.Live 2 Forum