xTicsGenerator: function*(minDate, maxDate) {
for (
let x = 0, tickDate = moment(minDate).add(x, 'month');
tickDate.isSameOrBefore(maxDate);
x++, tickDate = moment(minDate).add(x, 'month')
) {
yield tickDate.toDate();
}
},
let xTickValues = [];
for (let value of xTicsGenerator(minDate, maxDate)) {
xTickValues.push(value);
}
thi