Bar: ignore not-grouped bars from group bar count (#9291)

This commit is contained in:
Jukka Kurkela
2021-06-20 01:28:05 +03:00
committed by GitHub
parent fb863f3183
commit ba5ebceca8
3 changed files with 39 additions and 0 deletions

View File

@@ -324,6 +324,10 @@ export default class BarController extends DatasetController {
for (i = 0; i < ilen; ++i) {
item = metasets[i];
if (!item.controller.options.grouped) {
continue;
}
if (typeof dataIndex !== 'undefined') {
const val = item.controller.getParsed(dataIndex)[
item.controller._cachedMeta.vScale.axis