I am trying to add an image to the chart using ResourceCreate, but for some reason I am getting error 5002: "Wrong file name".
I have also tried this code, with the same error:
I've also tried .gif and .bmp files, so I am at a complete loss. Can anyone help me figure out what the problem is?
Thanks in advance.
I think the problem is :
" The first version of the function is used for uploading images and sounds from files, and the second version is used only for the dynamic creation of images. "
So you must use the sencond version of the function