-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
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
Separate positive and negative fill colors for areas (for difference charts), or an area clipping channel or mark (and then use two marks). #159
Comments
differenceArea plugin in https://observablehq.com/@observablehq/plot-difference-chart |
My plugin mentioned above is infinitely more complex than filling the space with vertical rules, as Zan suggested. |
It looks like since June 29 the difference chart example no longer uses clipping? But I believe that approach isn’t viable when the curve is affected by multiple points (even in the case of linear, but most acutely with basis)? Here is a take using a render transform and a compound mark: |
Yes I simplified it since in that case the clipping approach was overkill, and I wanted to revisit the implementation when we did #1109 (Also, you may have noticed that I had inadvertently switched the colors!) |
No description provided.
The text was updated successfully, but these errors were encountered: