Hi,
I am using SWFToImage with C# to capture the swf on jpg files.
I try to get a Pie2D with only one element in it.
I use this code for setiing the dataXML when the SWF will be launched
graph.Execute_SetVariable("dataXML", GraphXml);
But i'm facing a problem : If my Pie2D has only one elements i get a data XML invalid message.
Here is the XML Code of my chart :
<chart bgColor='FFFFFF' showBorder='0' animation='0' use3DLighting='0'><set label='taux' value='100'/> </chart>
But if the XML has a second element :
<chart bgColor='FFFFFF' showBorder='0' animation='0' use3DLighting='0'><set label='taux' value='100'/><set label='alternatif' value='100'/> </chart>
This works this time...
Here is the debugger message :
Someone got a solution for this ?
Thanks