Bug description

When I have a table chart with cell bars enabled, I should be able to color those bars with conditional coloring. Instead, the bars disappear, and the colors apply to the cell, overwriting the bar.

This could be fixed by either: (a) applying the color to the cell bar (b) using an RGBA gray to transparently place the bar on top of the colored cell.

Also, when I select my column to use for conditional coloring, it does not show the selected column in the Select input.

Screenshots/recordings

https://github.com/user-attachments/assets/44ae4e77-aa6e-4ce3-bd4b-aac7731aa585

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: sfirke

I agree, I just ran into this. We were going to use a hacky conditional color rules to force all the cell bars to have the same color other than gray, but like you say once we added that rule it overrode the cell bars.

I vote for:

(a) applying the color to the cell bar

Comment From: rusackas

I like (a) too. I'll leave this open in hopes that someone (including me!) might open a PR. I know I once made the cell bars with CSS, so they should be colorable without much difficulty.