I have a chart with some data present in it. I don't want to show the x and Y axis. I somehow find out how to remove the legend in the chart. But failed to hide the axis.
I just want to remove the Grid line and Axes also. I have the chart object with the below code.
PowerPoint.Shape chartShape = slide.Shapes.AddChart(Microsoft.Office.Core.XlChartType.xlBarClustered, left, top, width, height);
//Get the chart
PowerPoint.Chart chart = chartShape.Chart;
chart.Legend.Clear();
Can anyone knows how to hide it with c#?