Skip to content
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

Bar chart with second y axis overlaps data series #2292

Open
dncpax opened this Issue Feb 5, 2018 · 6 comments

Comments

Projects
None yet
4 participants
@dncpax
Copy link

commented Feb 5, 2018

Issue Summary

Discussion here: https://discuss.redash.io/t/bar-chart-with-second-y-axis-overlaps/1493/3.
In a bar chart, when choosing to display a data series on the secondary y axis to the right, the data series overlaps all others:
image

It shouldn't. The correct solution is to display all data series side-by-side regardless of y axis.
Example from google sheets:
1 y axis
image

2 y axis
image

Occurs on v3.

Steps to Reproduce

  1. Create bar chart with at least 2 data series
  2. Configure 1 data series to use a secondary y axis

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
I don’t think that’s the correct behaviour a secondary y axis should have. Why would anyone want a data series to entirely cover up other data series?
The objective of a secondary y axis is to allow very different ranges of values to be plotted on the same graph.

Technical details:

  • Redash Version: 3.0
  • Browser/OS: any
  • How did you install Redash: ubuntu provision script
@chuckume

This comment has been minimized.

Copy link

commented Apr 3, 2018

I have exactly the same problem.

@dncpax

This comment has been minimized.

Copy link
Author

commented Mar 8, 2019

Just trying to get traction on this.
Really, a no-brainer and super-strange to explain people redash does not support such a common use-case.

@dncpax

This comment has been minimized.

Copy link
Author

commented Mar 8, 2019

Seems a plotly issue to be resolve in v1.45.0:
plotly/plotly.js#78
PR already merged: plotly/plotly.js#3529

Example here: https://codepen.io/etpinard/pen/yZQYzq?editors=1010

@dncpax

This comment has been minimized.

Copy link
Author

commented Mar 8, 2019

Ok, v1.45 is already out! They're on v1.45.2 already!

Any takers??

@kravets-levko

This comment has been minimized.

Copy link
Collaborator

commented Mar 8, 2019

Hi @dncpax! We're in the middle of React migration, and therefore have some blockers related to that. I think I'll take this after #3493 merged.

@dncpax

This comment has been minimized.

Copy link
Author

commented Mar 8, 2019

Hi @kravets-levko thanks for the update. Been looking forward for the many great things you guys are doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.