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

The Direct color option is disabled and I have data with hex colors #613

Open
mscherotter opened this issue Feb 10, 2023 · 10 comments · Fixed by #615
Open

The Direct color option is disabled and I have data with hex colors #613

mscherotter opened this issue Feb 10, 2023 · 10 comments · Fixed by #615

Comments

@mscherotter
Copy link

I have data with a hex value but the option to use direct color is disabled.

image

image

@danmarshall
Copy link
Contributor

Does the Column Types dialog show that it Is Color Data?

@mscherotter
Copy link
Author

It is not listed there and it is not in every row - some values do not have an Avatar color column.

@danmarshall
Copy link
Contributor

I think null values may cause the column to invalidate as color. Can you populate a default color value in your data?

@mscherotter
Copy link
Author

I populated with default values and see them in the column types:
image

but the direct color option is still disabled:
image

@danmarshall
Copy link
Contributor

Looks like #RRGGBB formats are being parsed as date types 🤨
I'll keep digging on that issue. Workaround for now would be to use rgb(rr,gg,bb) format.

Once it's enabled it will appear in the menu under a Direct Color heading:
image

@HorstBaerbel
Copy link

HorstBaerbel commented Feb 28, 2023

Not sure if this is related:
I have #rrggbb colors and they are detected as direct color "field csscolor contains direct color", but are read / displayed wrong. The RGB values are mapped to XYZ and the plot is colored by csscolor (#rrggbb). The plot should have a smooth color gradient:
grafik
Here is the .csv

Same data in plotly:
grafik

Tell me when I should open a new issue...

@danmarshall
Copy link
Contributor

@HorstBaerbel can you provide a repro case?

@HorstBaerbel
Copy link

@HorstBaerbel can you provide a repro case?

It's a bit on the big side, but I hope it helps:
colorfit_objects.csv

@HorstBaerbel
Copy link

@danmarshall The color error has not been fixed for me. csscolor is still wrong (same as last two images and can repo it with the casv). Should I open a new issue?

@danmarshall danmarshall reopened this May 13, 2024
@danmarshall
Copy link
Contributor

@HorstBaerbel - I've just reopened this issue. It would help if we could get a smaller dataset which repro's the error.

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 a pull request may close this issue.

3 participants