Правки
This commit is contained in:
parent
87126a755f
commit
a8ce3f25e7
1 changed files with 2 additions and 2 deletions
|
|
@ -369,8 +369,8 @@ export class ErvuChartV2 extends Control implements Filterable {
|
|||
let result: string[][] = [];
|
||||
let startIndex = 0;
|
||||
datasets.forEach((dataset) => {
|
||||
const count = dataset.data.length;
|
||||
const endIndex = startIndex + count;
|
||||
const length = dataset.data.length;
|
||||
const endIndex = startIndex + length;
|
||||
result.push(labels.slice(startIndex, endIndex));
|
||||
startIndex = endIndex;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue