Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Data point dots in line graph can be the wrong color. #110

Open
Ch0ronomato opened this issue Sep 4, 2017 · 2 comments
Open

Data point dots in line graph can be the wrong color. #110

Ch0ronomato opened this issue Sep 4, 2017 · 2 comments

Comments

@Ch0ronomato
Copy link

I've building something using rd3, and have a line graph that has two data sets loaded asynchronously. One data set is guaranteed to be "downloaded" before the other. I unfortunately can't share all the code, but I can show a picture.

I am trying to mimic this behavior and either update this issue or submit a PR.

One image has a single line, the next has the entire two data sets loaded. You can see the dots on the dashed blue line inherit the orange color of the solid orange line.

screen shot 2017-09-03 at 6 25 03 pm

screen shot 2017-09-03 at 6 25 00 pm

@DeliSauce
Copy link

I'm having the same issue. Did you find a workaround?

@Ch0ronomato
Copy link
Author

@DeliSauce the workaround I used was to set the state with all the data at one time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants