Query regarding ImageSparkLine - Image Charts

57 views
Skip to first unread message

Nithin K

unread,
Feb 6, 2024, 9:29:48 AMFeb 6
to Google Visualization API
We have a legacy app that 's integrated with Google Charts and possibly Image Charts. I recently began exploring chart integration.
URL used in the app - https://www.gstatic.com/charts/loader.js

In another thread, I have gone through 'Is there any problems with the chart API.'

I noticed we have - usage of the DataTable class and various formatters such as NumberFormat and DateFormat, along with Charts including LineChart, PieChart, and AreaChart. Additionally, there is mention of ImageSparkLine.

During a blackout schedule, ImageSparkLine encountered issues.

As February comes to an end, my question is whether all charts and formatters mentioned above, except for ImageSparkLine, should continue to function as expected?

Thank you

Daniel LaLiberte

unread,
Feb 6, 2024, 10:35:28 AMFeb 6
to google-visua...@googlegroups.com
All the "Image*" charts in Google Charts actually use the deprecated chart server.  So you should stop using them asap.

However, for the Google Charts corecharts, there is an undocumented theme: 'sparkline' option that will reduce any corechart to a sparkline chart.  See if it works for you.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/19654645-103d-4989-a61d-37dd323723b1n%40googlegroups.com.


--

Daniel LaLiberte

 • SWE

 Cambridge MA

 • dlaliberte@Google.com

Nithin K

unread,
Feb 6, 2024, 1:38:16 PMFeb 6
to Google Visualization API
It brings me to a question: How do I distinguish between Image charts and Google Charts?

Does chart.googleapis.com/chart belong to Image charts, and does gstatic.com/charts/loader.js belong to Image charts. That's based on my understanding from quick guide documentation.
Could you confirm?

Jon Orwant

unread,
Feb 6, 2024, 1:40:03 PMFeb 6
to google-visua...@googlegroups.com
chart.googleapis.com/chart = Google Image Charts, deprecated 12 years ago
gstatic.com/charts/loader.js = Google Charts, actively maintained.

Jon

Daniel LaLiberte

unread,
Feb 6, 2024, 2:27:23 PMFeb 6
to google-visua...@googlegroups.com
The confusing crossover is that Google Charts supports an interface to the Image Charts, in addition to several other non-image charts.  And these Google Charts Image Charts will be broken as soon as the Google Image Charts goes away entirely.

Reply all
Reply to author
Forward
0 new messages