legumeinfo / ZZBrowse

Other
1 stars 1 forks source link

Clicking a point in the gChart or pChart has no effect #7

Closed svengato closed 3 years ago

svengato commented 4 years ago

This is an issue only when running ZBrowse in Firefox, using R 3.6 or higher. Not seen in Chrome or Safari.

The development and production versions use R 3.5.2 which works fine.

svengato commented 3 years ago

This had to do with how ZZBrowse was accessing Highcharts. I solved it by removing the addResourcePath() lines in global.R and loading the corresponding JavaScript library in ui.R instead (as we do for the other JavaScript libraries).

It works with either a local or remote Highcharts library - are there any objections to using a remote one and purging the local files? The same stable version (7.0.0) is available either way, though later ones exist.

A nice bonus is that we can now upgrade to R version 4.0+ on dev-legfedorg, though this may require updating from Fedora 28 as well.

svengato commented 3 years ago

Fixed in commit 405a530.