Closed jonocarroll closed 3 months ago
Attention: Patch coverage is 75.00000%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 86.04%. Comparing base (
8a3a5cb
) to head (d2a82c5
).:exclamation: Current head d2a82c5 differs from pull request most recent head c35bca7. Consider uploading reports for the commit c35bca7 to get more accurate results
Files | Patch % | Lines |
---|---|---|
R/plot_plotly.R | 66.66% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks a lot for that addition!
I would like to be able to interact with clicks on a
vistime
plot used in shiny. By default, plotly sets the source to "A" so this is possible. With several plots combined (aligned viaplotly::subplot()
with a shared X axis) the distinction between clicks on any onevistime
plot is lost. By providing distinctsource
s these can be listened to independently when not combined. By providing distinctcustomdata
the plots can be re-identified even when combined, despite having many tracks in each.A small example app would be
https://github.com/shosaco/vistime/assets/9496865/0baa0d03-73da-44b1-9977-f518a0d8f9ba