Skip to content

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

Open

Description

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

image

image

Activity

  1. danmarshall commented on Feb 10, 2023

    @danmarshall
    Contributor

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

  2. mscherotter commented on Feb 10, 2023

    @mscherotter
    Author

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

  3. danmarshall commented on Feb 10, 2023

    @danmarshall
    Contributor

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

  4. mscherotter commented on Feb 11, 2023

    @mscherotter
    Author

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

    but the direct color option is still disabled:
    image

  5. danmarshall commented on Feb 11, 2023

    @danmarshall
    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

  6. HorstBaerbel commented on Feb 28, 2023

    @HorstBaerbel

    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...

  7. danmarshall commented on Apr 17, 2023

    @danmarshall
    Contributor

    Bim (@HorstBaerbel) can you provide a repro case?

  8. HorstBaerbel commented on Apr 19, 2023

    @HorstBaerbel

    Bim (@HorstBaerbel) can you provide a repro case?

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

  9. HorstBaerbel commented on May 12, 2024

    @HorstBaerbel

    Dan Marshall (@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?

  10. danmarshall commented on May 13, 2024

    @danmarshall
    Contributor

    Bim (@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions