Make bar charts animate - #2
Conversation
@darabos nice job! All tests are passing. I won't have the chance to test all the Here's how the |
darabos
commented
Oct 8, 2018
I've got an embarrassing question. 😊 How do I switch between the different frames in that test? |
etpinard
commented
Oct 9, 2018
entering You can checkout the jsdoc: or https://plot.ly/javascript/animations/ for more info. |
saebaxp
commented
Jan 15, 2019
Thanks for the great work guys! |
darabos
commented
Jan 16, 2019
No, I still have to fix the issue that's visible in @etpinard's animation and then ask for a review. Sorry, I kind of forgot about this over the holidays, but I'll try to pick it up this week or next.
Right, I really want this too! ❤️ |
darabos
commented
Jan 30, 2019
Sorry about the delay. I've merged with current That looks better now! There is a jump at the end after the axis transition, but I also see that with the scatterplot animation. Do you have ideas for what else to test? Thanks! |
raulhuelamo
commented
Feb 4, 2019
darabos
commented
Feb 5, 2019
Thanks! I've committed a simple fix for that. But I'll have to check the full test suite to see if it has any unintended consequences.
Unfortunately your GIFs don't load for me, but thanks for checking! I forgot about stacked charts... I better add a test for that. I've also added a simple test to see if bars get added/removed correctly. (I've seen some issues with that when trying this change in our production system.) But this test seems completely broken. 😓 I'll have to debug a bit more. |
Thanks for your hard work @darabos ! Unfortunately I probably won't have time to look at this PR in detail in the next couple week. I'll try, but I won't guarantee anything. |
jklimke
commented
Jun 13, 2019
Is there any progress with that feature ? currently the brach has conflicts with the current master of plotly.js. |
darabos
commented
Jun 13, 2019
Sorry I haven't finished it! I've switched to a non-dashboard project at work, so I could only finish this in my free time now. I'll try to fire up some enthusiasm for this in our dashboard team. Hopefully I can find someone to move this forward! |
etpinard
commented
Sep 11, 2019
A first version of animatable bar traces got merged in plotly#4180 and is set to be released in plotly.js Sorry for delay. I hope you'll like this new feature. |
darabos
commented
Sep 11, 2019
Wow, that's fantastic! 🎉 Thanks! |




Resolvesplotly#1019. So far this is just a revival of @rreusser's plotly#1647. Probably with the same TODOs, maybe more. I just moved a bunch of code into
plotOne()and it works!