DataLabel.Position in BarChart

Aug 26, 2015 at 3:04 PM

how can i set position of datalabels in BarChart, please?

In PIeChart etc., there is DataLabel property that contains Position property, but there isn't any Position property in ExcelBarChart and there is no ExcelBarSerie with DataTable.Position property..

I have tried to modify manually XML like this..

chart.ChartXml.InnerXml = chart.ChartXml.InnerXml.Replace("<c:dLbls>",
             "<c:dLbls><c:dLblPos val=\"outEnd\"/>");
But the file is corrupted. Please help me if you can.