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

handling gaps #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

lindsayplatt
Copy link

Working on #7.

This first commit is a bit of a hack. I put one group of lines that is styled with dashes, than a second group styled solid that skips missing data using .defined. Other than not having the hovers increase the stroke-width of the dashed lines, this works. However, creates a lot of unnecessary elements, so I'm still searching for a better way.

image

@lindsayplatt
Copy link
Author

Second commit filters the data so that gap lines and data lines are drawn separately. Hover still doesn't work - need to figure out how to link the gap + data line so they can keep their styling when hovered over.

Switching to other data types has weird functionality right now, but rank seems to work just fine.

@lindsayplatt
Copy link
Author

I think it's because I still need to include .defined in the line function, but I can't figure out how to get that to work.

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