Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Plotly on Mobile / Tablet Devices

Hi there
I am having trouble working out what the expected behaviour of plotly.js charts is on mobile/tablet devices.
Should the hover tips work on mobile and/or tablet devices?
Should the toolbar buttons at the top right of the chart (zoom, pan, etc) work on mobile and/or tablet devices?
As an example of the type of chart I am thinking of, please see: https://plot.ly/~cbailiss/5
I realise the above chart is hosted on Plotly. Would there be any difference expected in mobile/tablet functionality if this chart was viewed on desktop/laptop, mobile and/or tablet devices? I also assume the above chart is rendered via plotly.js.
Does the functionality vary by screen size (e.g. for small mobile screens, are hover tips and/or the buttons disabled?).
If I have missed a documentation page somewhere that explains the default behaviour and/or options for rendering on different devices, my apologies.
Thanks
Chris

See https://github.com/plotly/plotly.js/issues/1858 and https://github.com/plotly/plotly.js/pull/1804

Thanks, but it’s not very clear from those what the current expected behaviour is, i.e.

Should the hover tips work on mobile and/or tablet devices at present?
Should the toolbar buttons at the top right of the chart (zoom, pan, etc) work on mobile and/or tablet devices?

Thanks

Chris

To be honest, we don’t really know what plotly chart should do on mobile. Before, PR #1804, some interactions just worked on mobile, but that wasn’t on purpose nor documented. PR #1804 added some native mobile handlers, but like you noticed, there’s still plenty of room for improvement. Feel free to write your suggestions on ticket #1858.

Thanks for the explanation. We’re going through some testing so will add to the ticket as that progresses.