Skip to content

Commit

Permalink
#11450 hide bar by dataindex (#11755)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittrock authored Apr 29, 2024
1 parent 8c004a1 commit 6daf4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/controller.bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ export default class BarController extends DatasetController {
let i = 0;

for (; i < ilen; ++i) {
if (this.getParsed(i)[vScale.axis] !== null) {
if (this.getParsed(i)[vScale.axis] !== null && !rects[i].hidden) {
rects[i].draw(this._ctx);
}
}
Expand Down

0 comments on commit 6daf4ba

Please sign in to comment.