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

Mixed chart with stacked bars - incorrect max height #531

Open
genadis opened this issue Apr 21, 2019 · 2 comments
Open

Mixed chart with stacked bars - incorrect max height #531

genadis opened this issue Apr 21, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@genadis
Copy link

genadis commented Apr 21, 2019

Codepen

codepen to demonstrate the issus.

Explanation

  • What is the behavior you expect?
    Following Stacked Bar Graph with Line?  #26, In mixed chart type, should be able to have stacked bars, without affecting how the line and area chart types and have correct max height of the graph.
  • What is happening instead?
    If enabling the stacked chart as in the example code pen, the max height is to big.
@junedchhipa junedchhipa added the bug Something isn't working label Apr 22, 2019
@JohnRomanski
Copy link

Here is a cleaned up code pen.
https://codepen.io/genadis/pen/wZXRVv
This is still using the sum of all the values as the max of the yscale, when it shouldn't. Maybe adding a different axis would help?

@octlap
Copy link

octlap commented Mar 1, 2021

Hi, I'm experiencing the same issue with stacked bar + line combo, where the max height is incorrect (too big).
When displaying the bars as lump sum, the max height is correct.
Did anyone find a workaround? I've tried to manually set the max but that messes with the forceNiceScale parameter of the y-axis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants