Unsure why this condition isn’t working in Vega
In my condition, I have a statement to always be true yet it always goes to the else value. It appears to not be checking the condition at all or saying it is always false, but I’m not sure why either one would happen. any insight would be greatly appreciated.
I am trying to set up a condition in vega-lite
I’ve tried throwing the condition in many different places, but it always crashes the display. Nothing feels wrong about the set up, and I’ve tried putting the condition in the “textgradient” section to no avail. After reading up on other people’s attempts and online documentation, it should be able to output “textgradient1” or “textgradient2” based on the condition.