Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
So it would be pretty sweet if it was possible to add a #uri property onto each data item, and then for each data point and/or legend item to become a clickable link to that uri.
Comment | File | Size | Author |
---|---|---|---|
#1 | charts-2148451-01-clickable-data.patch | 10.1 KB | jamsilver |
Comments
Comment #1
jamsilver CreditAttribution: jamsilver commentedI attach a patch which definitely seems to work well for Highcharts (which is what I am primarily using here). It also contains a first effort for Google charts, but that doesn't quite do the trick. For Google, I can't quite find the right way of pulling the uri out of the data for the selected data point on select.
Comment #2
Jerenus CreditAttribution: Jerenus commentedBot.
Comment #3
quicksketchHi @jerenus, this is pretty neat but I'm not sure if it's something we should make part of the main module. This requires a lot of manual wiring up from the patches you've submitted. If it's possible to make this implemented as an add-on (I think it should be already, but I'm not sure), that's probably what I'd prefer.
Comment #4
Pierre.Vriens CreditAttribution: Pierre.Vriens commentedI'd like to get this issue moving again somehow. I basically have these questions about it: