Migration from Google charts - diagnostics

I have 2 or 3 graphics generated with the Google chart API, and they stopped working a few days ago. So I was very happy to find that I should be able to use almost the same url, just changed to quickchart.io, to get them back. Sadly, it doesn’t work. And the problem is that any deviation from the allowed options result in a string return, so the image does not display, and the string just says “Sorry, can’t do this one”(or words to that effect). Is there any way of getting diagnostics? Here is the current url - I have found that "multiple axes are not supported, so chxt=x,x,r,y will not work, but it would help to get a specific error message…

https://quickchart.io/chart?cht=lc&chs=600x300&chco=000000,606060,a06000&chds=0,900000,0,900000,0,500&chxt=x,x,r,y&chxl=0:|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|Jan|Feb|Mar|Apr|1:|2023|2024|2:|0%E4%B8%87|10%E4%B8%87|20%E4%B8%87|30%E4%B8%87|40%E4%B8%87|50%E4%B8%87|60%E4%B8%87|70%E4%B8%87|80%E4%B8%87|90%E4%B8%87&chxr=3,0,500&chbh=a&chxs=0,000000,0,0,_&chxt=y&chm=N,000000,0,,10|N,000000,1,,10|N,000000,2,,10&chd=t:790380,587180,710920,411484,638428,406900,843555,682838,474836,346418,403512,196427,96036,224918,129682|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,224918,272130|266,207,262,159,217,135,265,213,146,109,114,69,35,66,45

Hi @Imaginatorium, do you happen to have a saved copy of what the chart used to look like? That will help me troubleshoot, but unfortunately I can’t see what it’s supposed to render because Google Image Charts is down :smiling_face_with_tear:

The “chart configuration is not supported right now” message is hardcoded for a few chart types that would have been very cumbersome to re-implement. There’s a good chance that it is easier to reproduce in the Chart.js format described here, but I understand you’re just looking to get the existing chart up and running again.

Hello,

I think I have the same problem and I think it is about web statistics :wink: , but I can provide screenshots from an old export to pdf.

Please note that the Google Charts links do not match the screenshots. The screenshots are from 2019 and the links are generated just now.

Monthly history

https://chart.googleapis.com/chart?cht=bvg&chxl=0:|Jan |Feb |Mau|Apr |Mai |Juni|Juli|Aug |Sep |Okt |Nov |Dez |1:|0|46.5 K|93 K|2:|0|2.1 M|4.2 M|3:|0|41.5 GB|83 GB&chxt=x,y,y,r&chxs=1,FFAA66|2,4477DD|3,2EA495&chco=FFAA66,F4F090,4477DD,66DDEE,2EA495&chg=0,50&chs=640x160&chd=t:61,55,53,45,42,42,13,0,0,0,0,0|97,81,84,73,62,81,22,0,0,0,0,0|33,20,25,20,20,18,8,0,0,0,0,0|97,76,84,71,71,67,19,0,0,0,0,0|77,64,97,86,55,47,18,0,0,0,0,0|0,0,0,0,0,0,0,0,0,0,0,0&chbh=a

Days of month

https://chart.googleapis.com/chart?cht=bvg&chxl=0:|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|1:|0|1.6 K|3.3 K|2:|0|85 K|170 K|3:|0|1.6 GB|3.1 GB&chxt=x,y,y,r&chxs=1,F4F090|2,4477DD|3,2EA495&chco=F4F090,4477DD,66DDEE,2EA495&chg=0,50&chs=640x160&chd=t:85,88,95,75,52,60,90,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|28,32,47,24,19,12,30,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|60,62,90,63,53,45,62,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|60,64,94,58,47,36,77,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&chbh=a

Weekdays

https://chart.googleapis.com/chart?cht=bvg&chxl=0:|Mo|Di|Mi|Do|Fr|Sa!|So!|1:|0|85 K|170 K|2:|0|85 K|170 K|3:|0|1.6 GB|3.1 GB&chxt=x,y,y,r&chxs=1,4477DD|2,66DDEE|3,2EA495&chco=4477DD,66DDEE,2EA495&chg=0,50&chs=480x160&chd=t:19,32,47,24,19,12,30|49,62,90,63,53,45,62|47,64,94,58,47,36,77|0,0,0,0,0,0,0&chbh=a

Weekdays

There are some more statistics (as pie variant), but I think it’s better to start with these. :wink:

@ian maybe you can help with the screenshots now?

Kind regards,
Roi

PS: Sorry for creating several posts. As a new user I am only allowed to attach one image per post.

Hi @Roi,

Unfortunately it’d be quite difficult for us to support multi-axis charts at this point. I know it’s a lot, but you might consider converting them to an open-source format such as Chart.js.

I’ve gone ahead and taken a swing at it: example chart config

The documentation describes how to use this more flexible and open source API.

Hope this helps!