Unanswered: Cannot export chart to image
Hi all, I'm getting some trouble trying to export my chart to image. I'm new with ext js charting so I really can't find out how to solve it
The error shown is:
ArgumentError at /
invalid byte sequence in UTF-8
so I suposse it's something to do with the data.but how can I configure my chart to make a utf8 encode before sending data to export?
By the way if you need the code of how I'm configuring my chart I can post it
Also I've UTF 8 encoding problem exporting chart as image
I've the same problem.
There is someone that solved this problem?
Don't know if is useful for you but I'm using PHP in the backend of my app. I do some Ajax request and the response is what I use to pupulate my chart store.
Within the PHP code that I use to return the response I just call the utf8_encode(mydata) function.
I mean, maybe you can solve it from your backend. I don't know if there's a way to encode data on the client side.
Also, you can try to put the <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
tag on the frame your are using to render your chart.
Thank for your reply.
I've already tried what you proposed, unfortunately with no success.
I've also searched svg source text sent by ext to io.sencha.com searching for the messed up UTF8 character with no result. All seems in ascii english.
Any other idea?
Do you need extra info?
Tags for this Thread