Closed Apiilas closed 1 month ago
Hi, I am facing the same issue after upgrading to 1.6.0. For now I solve it by adding:
chart: { events: {} }
In your case it would be something like:
chartOptions () {
return {
labels: this.labels,
colors: this.colors,
responsive: [{
breakpoint: 1439,
options: {
chart: {
width: this.width
},
legend: {
position: 'bottom'
}
}
}]
chart: {
events: {}
}
}
released vue3-apexcharts@1.7.0 with a fix for this. Please upgrade to 1.7.0
Hello, version 1.7.0 still gives the same error when using:
type="radialBar"
Please provide a reproducible codesandbox
The error is thrown in:
t3.length < s2)
In this part of the code:
}, {
key: "pushExtraColors",
value: function(t3, e2) {
var i2 = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null
, a2 = this.w
, s2 = e2 || a2.globals.series.length;
if (null === i2 && (i2 = this.isBarDistributed || this.isHeatmapDistributed || "heatmap" === a2.config.chart.type && a2.config.plotOptions.heatmap && a2.config.plotOptions.heatmap.colorScale.inverse),
i2 && a2.globals.series.length && (s2 = a2.globals.series[a2.globals.maxValsInArrayIndex].length * a2.globals.series.length),
t3.length < s2)
for (var r2 = s2 - t3.length, o2 = 0; o2 < r2; o2++)
t3.push(t3[o2]);
}
}, {
I think it happens because in my code I am doing:
for (let i = 0; i < props.data.length; i++) {
options.value.labels.push(props.data[i].nombre)
series.value.push(props.data[i].cantidad)
}
Hi, I tried to used the donut, but I encountered this error:
even my code or the exemple in gitHub raise the same error I don't use event so I'm a little lost
here my version
"vue3-apexcharts": "^1.6.0"
here my actuel code: