-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Logarithmic stacked bar charts don't draw the first dataset #3585
Comments
The weird thing is that I can get a tooltip for the dataset that doesn't draw 😕 |
…to take log of 0, resulting in no bars drawn)
https://jsfiddle.net/x7pz253f/1/ same but not the first dataset I found it just many '65' in my case.but i just need that many '65' and want to draw it. |
i found out what is wrong; i got max value 66 and min value 65 in my datasets but i did not set ticks.beginAtZero to true. so it draw 65 with top=0. i think is good to have a min top that value is not true zero |
@potatopeelings you can set your data to [1000,100]; that make less distance between two values which can draw the bar or use beginAtZero. but i don't think this is good idea |
…issue, #3585 while also fixing the issue identified for normal stacked charts when the Y axis has a user defined minimum value
…e axis has a user defined minimum value.
* Undo fix for #3585 since it has broken the stacked bar charts when the axis has a user defined minimum value. * When a value of 0 is requested for a vertical logarithmic axis, return the bottom point
* Undo fix for chartjs#3585 since it has broken the stacked bar charts when the axis has a user defined minimum value. * When a value of 0 is requested for a vertical logarithmic axis, return the bottom point
* Undo fix for chartjs#3585 since it has broken the stacked bar charts when the axis has a user defined minimum value. * When a value of 0 is requested for a vertical logarithmic axis, return the bottom point
Current Behavior
With axis stacked, the first dataset is not plotted.
Steps to Reproduce (for bugs)
bar
typeFiddle
https://jsfiddle.net/x7pz253f/
Version
Chart.js version: 2.3.0
The text was updated successfully, but these errors were encountered: