Fatal error: _DrawError(): Warning, no image resource allocated. The message to be written was: DrawGraph(): No image resource allocated