-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Composite Pass-Through Properties + Rescale #1365
Conversation
f68de65
to
181986e
Compare
To fix this I've made |
I don't have a specific need here, so I'm going to leave this change out of this PR. If someone else needs #1314 fixed, you'd likely follow a pattern similar to what's found here. @gordonwoodhull any feedback? |
181986e
to
aaafbeb
Compare
Many thanks for your work @dahlbyk, currently heavy work is going on branch 3.0. Will it be possible for you to rebase and target your PR onto 3.0? |
Done. We'll see if tests still pass. 😀 I'll leave the 2.x version at da3c437...NewBoCo:composite-props-2.x in case anyone needs it. |
5f61a95
to
a6eeb60
Compare
a6eeb60
to
000a52b
Compare
7bb6b57
to
e03ffa0
Compare
Revisiting this (a year later!) as I'm finally upgrading from my patched v2 to v3. I've refactored a bit and included a fix for |
Apologies for the long delay on this. I was reminded of this PR by a question on SO. Nice, clean implementation and special thanks for including tests! Released in 3.1.5 and will port to the es6 branch shortly. Thanks @dahlbyk!! |
Rebased v3.1.5 commits here: 1438f80...cdc1cda |
As proposed in #611 (comment):
height
andwidth
updates should cascade to children (fix Composite Chart Not Rescaling Bar Width #611)margins
updates should cascade to children (fix need to call margins before compose for child charts to inherit #1003)title
updates should cascade to children if/whenshareTitle(true)
(fix .title not working on composite of line charts #554)rescale()
should cascade to children (no specific issue that I can find, but it seems important?)resizing()
on the children never goes tofalse
(defer fix for 2.0.x: label() not working for composite charts. #1314)label
andrenderLabel
updates should cascade to childrenStill in progress, but opening PR to check CI and get feedback.cc @gordonwoodhull