In PowerPoint 2013 when I manually insert a new chart into a slide, the chart automatically has the Chart Style "Style 1" applied. This has the effect of setting the font sizes of chart labels to 12.
However, no Chart Styles are applied if I try to add a new chart to PowerPoint 2013 using the following C# code:
var ppt = new Microsoft.Office.Interop.PowerPoint.Application();
var presentation = ppt.Presentations.Add();
var layout = Microsoft.Office.Interop.PowerPoint.PpSlideLayout.ppLayoutChart;
var slide = presentation.Slides.Add(1, layout);
var shapes = slide.Shapes;
shapes.AddChart();
Font sizes seem to default to 18. Is there any way to create a chart or to set Chart Styles using Interop so that it matches a chart produced manually (i.e. has Chart Styles applied)?
I am aware of the Chart.ChartStyle property as mentioned in C# - Excel 2013 how to change chart style but it only seems to change chart colors and legend placement, not font size. There is no Macro recorder in PowerPoint, so I can't generate VBA code to replicate the action of creating a new chart.