-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes Google Image Line Chart #3974
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QR Code is rendered. Publication chart is displayed on person profile and co-author network page.
Tested on themes Wilma, Tenderfoot, Vitro, Nemo.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@milospp thanks for this quick fix. It works very well. No complaints/suggestions from my side for the code. I suggest merging this into the main branch as soon as possible as a fix for the bug. Later, we can discuss whether we can apply just one approach for all images (quickchart.io API or a library).
* Replaced googleapis chart with quickchart.io * Updated to quickchart * Fixed nochart publication count * Replaced ImageSparkline with LineChart
* Replaced googleapis chart with quickchart.io * Updated to quickchart * Fixed nochart publication count * Replaced ImageSparkline with LineChart
VIVO GitHub issue 3973
What does this pull request do?
Fixes Google Chart API
Google chart API for generating QR code is replaced with quickchart.io.
Google Chart Sparkline image has been replaced with a Google LineChart due to the discontinuation of the Google API Chart API server, which is no longer available for generating images (Line Chart generates SVG locally). Graphs are configured to be identical as they were before.
Fixed no chart view (only text) mode. There was a problem with loading libraries.
What's new?
The chart on hover shows detailed info
How should this be tested?
Screenshoots
QR codes are generated with quickchart.io
Before (coppied from this VIDEO, that's why picture is dull):
After: