We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Troubles with custom scatter markers chart

Hi,

I need to create chart in powerpoint that will shows markers, filled with pattern, but i couldn't find functionality to do this

Here the code example:

IPresentation presentation = Presentation.Create();            
ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank);            
IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300);

chart.ChartType = OfficeChartType.Scatter_Markers;            
chart.ChartData.SetValue(1, 1, "Test");
chart.ChartData.SetValue(2, 1, 10);

IOfficeChartSerie serie = chart.Series.Add("Test");
serie.Values = chart.ChartData[2, 1, 2, 1];            
serie.SerieFormat.MarkerSize = 15;
serie.SerieFormat.MarkerStyle = OfficeChartMarkerType.Circle;
serie.SerieFormat.MarkerBackgroundColor = Color.Red;
serie.SerieFormat.MarkerForegroundColor = Color.Blue;
            
// need to setup marker foreground weight
// need to set marker background filled with pattern

In the end of the code i need to change marker foreground line size and set marker background filled with pattern. 
Is there some methods to do this?

Thanks!

1 Reply

VA Vijayasurya Anandhan Syncfusion Team July 24, 2019 10:38 AM UTC

Hi Andrey,

Thank you for contacting Syncfusion support.

At present Essential PowerPoint presentation does not provide support to the features such as “Set marker background filled with pattern to the Scatter marker chart”  and “Set marker line weight to the Scatter marker chart” and also we do not have any immediate plans to implement this features.

Please let us know if you have any questions.

Regards,
Vijayasurya A


Loader.
Live Chat Icon For mobile
Up arrow icon