We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "description": "A scatterplot showing horsepower and miles per gallons for various cars.", "data": {"url": "data/cars.json"}, "mark": "point", "encoding": { "x": {"field": "Horsepower", "type": "quantitative"}, "y": {"field": "Miles_per_Gallon", "type": "quantitative"}, "opacity": { "condition": [{"test": "datum.Horsepower > 100", "value": 0.25}] } }, "config": {"point": {"opacity": 0.5}} }
The left half should get opacity = 0.5, not 1.
0.5
1
The text was updated successfully, but these errors were encountered:
fix(#9401): conditional opacity should respect default value
5cc9898
fix(#9401): conditional opacity should respect default value (#9402)
b4c7e14
## PR Description Conditional opacity should respect default value Before: <img width="854" alt="image" src="https://github.com/user-attachments/assets/07f590c3-a293-4e08-9d0d-d3b1dd2e15ef"> `config.point.opacity = 0.5` is ignored After: <img width="794" alt="image" src="https://github.com/user-attachments/assets/78e5b3ad-aa0f-40a2-8fe7-58f68a551fe7"> --------- Co-authored-by: GitHub Actions Bot <[email protected]>
No branches or pull requests
The left half should get opacity =
0.5
, not1
.The text was updated successfully, but these errors were encountered: