Hi all,

I've released an open-source drop-in replacement for popular parts of the 
Google Image Charts API.  You can just replace "chart.googleapis.com" with 
"quickchart.io", or you can run your own server via the source code 
<https://github.com/typpo/quickchart> or docker.  For example, this Google 
Image Chart: 

https://chart.googleapis.com
/chart?cht=bvg&chs=300x200&chd=t:5,5,5|10,10,10|15,15,15&chco=4d89f9,c6d9fd,00B88A&chds=0,20&chbh=a&chxs=0,000000,0,0,_&chxt=y&chm=N,000000,0,,10|N,000000,1,,10|N,000000,2,,10


Can be re-written as: https://*quickchart.io*
/chart?cht=bvg&chs=300x200&chd=t:5,5,5|10,10,10|15,15,15&chco=4d89f9,c6d9fd,00B88A&chds=0,20&chbh=a&chxs=0,000000,0,0,_&chxt=y&chm=N,000000,0,,10|N,000000,1,,10|N,000000,2,,10
 
<https://quickchart.io/chart?cht=bvg&chs=300x200&chd=t:5,5,5|10,10,10|15,15,15&chco=4d89f9,c6d9fd,00B88A&chds=0,20&chbh=a&chxs=0,000000,0,0,_&chxt=y&chm=N,000000,0,,10|N,000000,1,,10|N,000000,2,,10>


As you can see the outputs are quite similar.  Documentation, examples, and 
supported options are provided here 
<https://quickchart.io/documentation/migrating-from-google-image-charts>.

It's a work in progress - my goal is to provide a faithful reimplementation 
of the Google Image Charts API but of course the full API is quite 
complicated, so I have focused on the core features.  If you need help or 
would like to assist with the open source project please reach out or open 
an issue on Github <https://github.com/typpo/quickchart>.  Please try it 
and provide feedback!

(As an aside, if you'd like to migrate to a modern chart framework the 
service also provides a Google Image Charts -> Chart.js conversion.  
Replace the host with quickchart.io and add &format=chartjs-config in order 
to generate the equivalent Chart.js config:  https://*quickchart.io*
/chart?cht=pc&chd=s:Helo,Wrld&chs=200x100*&format=chartjs-config* 
<https://quickchart.io/chart?cht=pc&chd=s:Helo,Wrld&chs=200x100&format=chartjs-config>
)

Ian

On Wednesday, October 9, 2019 at 12:43:19 PM UTC-7, Jon Orwant wrote:
>
> The service is running on fumes: as soon as the current serving jobs go 
> down, they are unlikely to come back up. I would migrate off immediately.
>
> Jon
>
> On Wednesday, October 9, 2019 at 3:40:29 PM UTC-4, Madisyn Margiotta wrote:
>>
>> Hi All, 
>>
>> Any updates on the timeline for this deprecation? We have numerous emails 
>> that utilize these charts as well. 
>>
>> Thanks!
>>
>> On Saturday, February 9, 2019 at 3:44:58 PM UTC-7, Jon Orwant wrote:
>>>
>>> Google Image Charts <https://developers.google.com/chart/image/> -- not 
>>> to be confused with Google Charts <https://developers.google.com/chart/> 
>>> -- is the free service at chart.googleapis.com that creates static 
>>> charts.
>>>
>>> Its deprecation was announced back in 2012 
>>> <https://developers.googleblog.com/2012/04/changes-to-deprecation-policies-and-api.html>,
>>>  
>>> so in theory nobody should be using it now that it's 2019. 
>>>
>>> Several technical dependencies have made maintaining Google Image Charts 
>>> unsustainable going forward, so it will be *turned off on March 14, 
>>> 2019*.
>>>
>>> There is no effective way to identify or contact users of the service 
>>> other than this group, so to alert them we will be creating outages: first 
>>> a short one, and then a longer one.
>>>
>>> The short outage will be for an hour on *Wednesday, February 13, at 
>>> approximately 1pm Eastern Standard Time*.
>>> The long outage will be for several hours on *Tuesday, March 5, at 
>>> approximately 10am Eastern Standard Time*.
>>>
>>> If you are still using Google Image Charts, we recommend:
>>>
>>>
>>>    - 
>>>    
>>>    Switching to Google Charts, an actively developed JavaScript library 
>>>    for interactive charts and can render many common chart types as static 
>>> PNGs. 
>>>    However, Google Image Charts provides some "charts" that Google Charts 
>>> does 
>>>    not, such as QR codes, LaTeX equations, and road signs. For those we 
>>> have 
>>>    no suggested replacement. 
>>>    - 
>>>    
>>>    Using another charting library such as D3 <http://d3js.org> or 
>>>    Dygraphs <http://dygraphs.com/> (both JavaScript).
>>>    - 
>>>    
>>>    Generating all the charts you'll ever need before March 14 and 
>>>    storing them yourself. (Many users of Google Image Charts create the 
>>> same 
>>>    exact chart over and over, which is slower and more wasteful than 
>>>    generating the chart once and storing it locally.)
>>>    
>>>
>>> On a personal note, I've enjoyed maintaining the service over the years, 
>>> and I'm happy to have watched the much more powerful Google Charts leapfrog 
>>> it in capability.
>>>
>>> Jon
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-chart-api/baddceda-acd2-4e4b-9c73-d74afb9fcd21%40googlegroups.com.

Reply via email to