Bug stacked bar
See original GitHub issueDescription I noticed this bug [I think it would be a BUG], when I set line bar stacked with only one element and it’s data = [-25.6], the chartjs draw only one bar horizontally extended.
Expected Behavior Bar stacked to the bottom
Current Behavior The bar is extended horizontally.
Possible Solution I fix this bug in my code by setted the data with empty values… data = [-25.6,]
Steps to Reproduce (for bugs)
Configuration of the dataset=>
backgroundColor:"#f57f17"
borderWidth:1
data:[-25.6]
label:"Order Sell"
type:"bar"
yAxisID:"y-axis-0"
Configuration of the y axes =>
gridLines: {
display: true }
Configuration of the x axe =>
stacked:true
gridLines: {
display: true,
offsetGridLines: true
}
Environment Chartjs 2.6.0/2.7.0/2.7.1 Version 63.0.3239.132 Windows 10 64bit
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Bug in a Stacked-Bar-Chart (V1.6) ?? — oracle-tech
I have got a question concerning stacked bar charts (V 1.6). I created a stacked bar chart (vertical) with 3 series, according to...
Read more >Stacked bar plot not working correctly - MATLAB Answers
Learn more about bar, stacked, negative values, plot MATLAB. ... I am using Matlab R2018b. Is this a bug in the release version...
Read more >BUG - Line and Stacked Column Chart different beha...
Hi, I am reporting a bug here on Power BI Service - - Line and Stacked Column Chart The line value behave differently...
Read more >Stacked bar chart rendering bug in the presence ... - GitHub
Hi, Really enjoying Altair but I've run into a bug when attempt to display stacked bars, some of which contain negative values.
Read more >How to Create Stacked Bar Plots with Error Bars and P-values
Create a stacked bar plot, add "mean_se" error bars p <- ggbarplot( df, x = "dose", y = "len", add = "mean_se", color...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in master (#4994) and will be release in 2.8. You can verify that it works with https://rawgit.com/chartjs/chartjs.github.io/master/dist/master/Chart.min.js
@ybarbaria you didn’t confirm that this issue was fixed? I will close it for now per my last comment but feel free to reopen if you still experience this bug in the latest version.