-
I have a basic scatter plot (link below). Both the fill and stroke colors are generated from the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Try moving the strokeOpacity: 0.5, fillOpacity: 0.2 part to the dot mark's options |
Beta Was this translation helpful? Give feedback.
-
Thanks, that worked: https://observablehq.com/@dgwyer/scatter-plot I wonder if, in the future, we might be able to access the actual color before it's rendered so we could also darken/lighten it rather than just change the opacity. I think opacity changes are enough in most cases but if you have a frame bg color set then you'd want to tweak the series color rather than make it semi-transparent. |
Beta Was this translation helpful? Give feedback.
Try moving the strokeOpacity: 0.5, fillOpacity: 0.2 part to the dot mark's options