Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Apr 18, 2019

Fixes #3785.
This is similar to the way connectors would be handled in the funnel trace.
codepen After.

@plotly/plotly_js
cc: @nicolaskruchten

@archmoj archmoj added bug something broken status: reviewable labels Apr 18, 2019

var delta = 0;
if(i + 1 < len && Array.isArray(trace.offset)) {
delta -= trace.offset[i + 1] - trace.offset[i];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. Where is offset taken in consideration? Do we have a mock with arrayOk trace.offset settings?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@etpinard
Copy link
Contributor

Nicely done 💃

@archmoj archmoj merged commit 6c5bc26 into master Apr 18, 2019
@archmoj archmoj deleted the fix3785-waterfall-connectors-on-date-axes branch April 18, 2019 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Waterfalls handling date axes weirdly

2 participants