I want to create a chart graphic with background color White , but under the line of graphic allways the color is blue (violet). How is posible to create
Hi,
Thanks for you inquiry.
Well, you may try:
e.g
Sample code:
…
Chart chart = sheet.Charts[chartIndex];
//Set the background color of chart area to none (no color). Similarly you may set the PlotArea of the chart
chart.ChartArea.Area.FillFormat.Type = Aspose.Cells.Drawing.FillType.None;
Also, see the document on how to format chart and its objects for your reference:
Thank you.
always the color blue violet under the graphic line appears…
chart.NSeries[0].Area.ForegroundColor =
Hi,
So, you got it right. Surely, if you need to change the fill color of a data series, you may use Series.Area.ForegroundColor attribute for your requirements.
Let us know if we can be of any further help.
Thank you.