The issue with the script is that sometimes it runs properly, and sometimes there is an exception in this call:
Bitmap.FromWicBitmap(this.RenderTarget, formatConverter);
Both RenderTarget & formatConverter are valid objects.
The script is not modified, however, next recompilation + refresh on Chart leads either to exception (~75%) or to normal work (~25%).
This could be related to my code but may be you still would be interested to have a look?
Also, on a side note - could you please add a minor visual signal indicating that script compilation is over? Something like a small build image in status bar, like VS has.
Comment