Hi, thx for the reply. And sorry for not getting back earlier.
I noticed that parameter, and actually set it, but it didn't help.I set up the whole XML programmatically, below is the code I use:
xDoc.Element("chart").Add( _
New XAttribute("xAxisName", "axis name"), _
New XAttribute("showValues", "0"), _
New XAttribute("exportEnabled", "1"), _
New XAttribute("exportAtClient", "1"), _
New XAttribute("exportHandler", "fcBatchExporter"), _
[b]New XAttribute("exportFileName", _chartName), _[/b]
New XAttribute("bgColor", "FFFFFF"), _
New XAttribute("showBorder", "0"), _
New XAttribute("showPlotBorder", "1"), _
[b]New XAttribute("caption", chartCaption), _[/b]
New XAttribute("chartTopMargin", "0"), _
New XAttribute("canvasTopMargin", "0"), _
New XAttribute("SformatNumberScale", "1"))
I probably wasn't detailed enough last post - but you can see now that I use batch exporter (as per documentation).
chartCaption etc are variables, that are defined for sure.
And still it didn't work