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

Scatter plot points are all black/grayscale as of 0.7.8 #2779

Open
massung opened this issue Apr 4, 2020 · 3 comments
Open

Scatter plot points are all black/grayscale as of 0.7.8 #2779

massung opened this issue Apr 4, 2020 · 3 comments

Comments

@massung
Copy link

massung commented Apr 4, 2020

Using FF + all Chrome-based browsers I looked at at D3 version 5.15.

Example: http://jsfiddle.net/h9xumgje/3/ (based on the example scatter plot on the C3 homepage). If you remove C3 and add it back using version 0.7.7 it works just fine. The legend colors always work; it's just the data points that are black.

If there was an API change in 0.7.8 to get the colors working, that change isn't reflected in the example on the C3 homepage.

@massung massung changed the title Scatter plot points are all grayscale as of 0.7.8 Scatter plot points are all black/grayscale as of 0.7.8 Apr 4, 2020
@GDFaber
Copy link
Member

GDFaber commented Apr 5, 2020

Hi @massung, can you check if this is still an issue with the latest release 0.7.15?

@massung
Copy link
Author

massung commented Apr 5, 2020

It is; 0.7.15 is what I was using. I kept rolling back versions until I got to one where it was working again.

@zhen416
Copy link

zhen416 commented Jun 16, 2020

Hi @massung, I also had this problem. Seems like it is caused by the css that you are using, which is missing the following:
.c3-circle { fill: currentColor; }
I am also having issues with this, and it appears at a point in time the 0.7.8 release might have still had the 0.7.7 css. The current release of 0.7.8 doesn't have this issue. Solution is just to add that css manually.

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

No branches or pull requests

3 participants