owid-grapher icon indicating copy to clipboard operation
owid-grapher copied to clipboard

Tracking issue: Mobile Grapher

Open sophiamersmann opened this issue 1 year ago • 0 comments

  • [x] https://github.com/owid/owid-grapher/issues/3010
  • [x] https://github.com/owid/owid-grapher/issues/2887
  • [x] https://github.com/owid/owid-grapher/issues/3011
  • [x] #3136 is also related
  • [x] StackedBar: Display legend on top of the chart on mobile

Other issues:

"Show selection only" toggle almost overlaps with content switchers

Example chart: https://ourworldindata.org/grapher/electricity-as-a-share-of-primary-energy?tab=table

Screenshot 2024-01-05 at 16 23 47
On data pages, Grapher should bleed onto the edges horizontally, similar to how it's done on Grapher pages and in articles

Example chart: https://ourworldindata.org/grapher/electricity-as-a-share-of-primary-energy?tab=table

Screenshot 2024-01-05 at 16 25 24
Unnecessary single-item legend takes up vertical space

Example chart: https://ourworldindata.org/grapher/death-rate-by-cause-who-mdb?facet=metric

Screenshot 2024-01-05 at 16 31 30
  • Related: https://github.com/owid/owid-grapher/issues/2594
Tooltip overflows

Example charts:

  • https://ourworldindata.org/grapher/co2-emissions-fossil-land
  • https://ourworldindata.org/grapher/distribution-of-population-between-different-poverty-thresholds-up-to-30-dollars
Screenshot 2024-01-15 at 08 30 54
Entity selector: Allow to clear the input field

Slack: https://owid.slack.com/archives/C0149NKLZAM/p1705351087477649

Unused space next to the legend on the right

Example chart: https://ourworldindata.org/grapher/number-of-nuclear-weapons-tests

Screenshot 2024-04-15 at 09 58 46
Scatter legend is scrambled

image

Mobile static DiscreteBar chart: Labels too big and slightly misaligned

annual-research-development-funding-for-neglected-tropical-diseases

Full screen button appears/disappears when scrolling up and down

Example: https://ourworldindata.org/grapher/remaining-life-expectancy-at-different-ages-males

This happens because we use the innerHeight to determine whether the full screen button should be shown. But the innerHeight updates when the URL bar is shown/hidden on mobile.

sophiamersmann avatar Jan 05 '24 15:01 sophiamersmann