The code below is how I am currently trying to export the chart (although I have also tried to export as a stream):
SaveFileDialog dialog =
"PNG File (*.png) | *.png"
I have also tried to use the Dispatch.BeginInvoke call, but this made no difference as I still got the same exception and an empty file with the entered filename.
What else could cause the ArgumentOutOfRange exception in regards of the Exportation methods? Are there some required parameters for the chart, which I am missing despite the chart itself being fine?