Hello Oliver,
Thanks for the clarification. So you are saving charts as template into the
folder,
"C:\Users\colbertz\AppData\Roaming\Microsoft\Templates\Charts"
And before you want to apply a saved chart template, you want to know the
chart type, right?
From the Office COM object model, there is no way to get the information
directly because the template is even not loaded into the current Office
application. But the chart template .crtx file is also stored as OpenXML
format. So we can read its content to find the information.
If we change .crtx to .zip, then we can observe a chart.xml in \chart\
folder. From the chart.xml file, we can read some lines like, (In my side,
I have a bar chart)
<c
lotArea>
<c:layout />
<c:barChart>
<c:barDir val="col" />
.....
This indicates the chart type is bar.
Here is a document that lists all possible types' corresponding OpenXML
elments,
http://msdn.microsoft.com/en-us/library/documentformat.openxml.drawing.chart
s.plotarea(office.14).aspx
Hope this helps!
Best regards,
Ji Zhou
Microsoft Online Community Support