We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Change scatter series color

Hi,


I would like to know how i can change color in a scatter series. Also how can i change the marker’s color of a scatter chart.

Thank you

Hi Alexandros,

I have observed the requirements shared by you and like to share that Aspose.Slides allows you to work with scatter charts and its entities including changing the marker color, series line colors and symbols for markers. I request you to please visit the documentation link 1 and documentation link2 to serve the purpose in this regard. Please share, if I may help you further in this regard.

Many Thanks,

Hi again,


I want to set the color on the marker. In the documentation doesn’t say anything about setting the marker color. Can you help?

Hi Alexandros,


I have observed your further requirements and suggest you to please try using the following sample code on your end to serve the purpose. Please share, if any further help is needed in this regard.

//Changing the chart series marker
series.Marker.Size = 20;
series.Marker.Symbol = MarkerStyleType.Circle;
series.Marker.Format.Fill.FillType = FillType.Solid;
series.Marker.Format.Fill.SolidFillColor.Color = Color.Orange;
series.Marker.Format.Line.FillFormat.FillType = FillType.Solid;
series.Marker.Format.Line.FillFormat.SolidFillColor.Color = Color.Green;
series.Marker.Format.Line.Width=2.0;

Many Thanks,

Perfect thank you.