mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 16:26:52 +01:00
Bar: ignore not-grouped bars from group bar count (#9291)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user