Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grapher redesign: Prevent chart icon to unexpectedly change #2753

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

sophiamersmann
Copy link
Member

  • Fixes a bug where the chart icon would unexpectedly change from a line chart icon into a bar chart icon when clicking on the map tab
  • This happens because switching from a line chart to the map automatically sets the timeline to a single year, and the underlying chart switches to a discrete bar chart
  • To prevent that, we hold onto the previous chart icon if we're not currently on the chart tab.

@sophiamersmann sophiamersmann merged commit 224fe4e into grapher-redesign Oct 12, 2023
12 of 14 checks passed
@sophiamersmann sophiamersmann deleted the grapher-redesign-fix-chart-icon branch October 12, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant