-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
🎉 (line+slope) add focus state / TAS-739 #4272
Conversation
Quick links (staging server):
Login:
SVG tester:Number of differences (default views): 1354 (d99454) ❌ Edited: 2024-12-17 16:13:28 UTC |
07a0340
to
85b90e1
Compare
fdd2d37
to
d6d23b0
Compare
85b90e1
to
5330b1d
Compare
d6d23b0
to
7d8ee69
Compare
5330b1d
to
2ac0267
Compare
7d8ee69
to
d9826ff
Compare
2ac0267
to
155d6cf
Compare
d9826ff
to
34c547e
Compare
155d6cf
to
b4fea30
Compare
34c547e
to
60d0334
Compare
b4fea30
to
42513be
Compare
60d0334
to
f53c5dd
Compare
42513be
to
89a8698
Compare
f53c5dd
to
4681f0e
Compare
89a8698
to
9a27a49
Compare
4681f0e
to
2fc86df
Compare
01cf272
to
cdfbf4c
Compare
2fc86df
to
3b694e7
Compare
a643f80
to
a48699c
Compare
Thank you for the quick review!
true! will add it for the left legend. I don't want to overload slope interactions too much though and since it's only a power user feature...
yap!
The URL isn't validated at all. You can also focus a non-existing entity and everything is grayed out: http://staging-site-focus-state-viz/grapher/population-density-of-the-capital-city?focus=hello. That's how Grapher currently works for other query params as well, so I just went with that for now :) |
b3eda9e
to
e0b3788
Compare
e0b3788
to
dc9a69a
Compare
Adds the option to highlight lines in line and slope charts
Summary
focusedSeriesNames
(suggestions for a different name welcome)focus
query param~
(the delimiter) which theoretically is possible but I don't think we need to worry about that nowIn the admin
Follow up
selectedEntityNames
andfocusedSeriesNames
are always serialised, even for an empty Grapher. I've fixes that in a follow-up PR