BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
//Get the first occurrence of chart
IPresentationChart chart = presentation.Slides[0].Charts[0];
//Change the Height of the dataLabel of the first series of the chart.
chart.Series[0].DataPoints[1].DataLabels.Layout.ManualLayout.Height = 0.25;
//Change the Width of the dataLabel of the first series of the chart.
chart.Series[0].DataPoints[1].DataLabels.Layout.ManualLayout.Width = 0.5;
//Change the Height of the dataLabel of the Second series of the chart.
chart.Series[0].DataPoints[0].DataLabels.Layout.ManualLayout.Width = 0.5;
//Change the Height of the dataLabel of the Second series of the chart.
chart.Series[0].DataPoints[0].DataLabels.Layout.ManualLayout.Height = 0.20; |
Hi Manolo,
Welcome. We are always happy to help.
We hope our code snippets worked at your end to modify the height and width of the Data Label of the series of a chart, and our products suit your business requirements.
Please let us know if you need any further assistance in this.
Thanks
Meikandan