I have an application that allows users (among other things) to align objects to chart labels. This app was originally written to function in COM where I was able to ask PowerPoint for Label.Left and Label.Top to get the position. I have rewritten this app to work natively on the OpenXML files (.pptx, xlsx etc) and to my dismay it seems that the OpenXML does not store the label position - obviously it is dynamically rendered at display time by PowerPoint.
What I was looking for would have been in the Chart Part "/ppt/charts/chartn.xml" and would have been something like (for a Bar Chart):
/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:dLbls/c:dLbl/p:xfrm with a:off and a:ext nodes. (Obviously the xfrm would have been in the c namespace).
Can you help me with any way to find out the X and Y position of the labels on a chart from the OpenXML?
TIA
Richard Teller