I am using vue apex chart and it is working except whenc you give 0 in data series then it gives the following error in the console Error: attribute d: Expected number, "M N aN 331.9444999…
Here is my code
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am using vue apex chart and it is working except whenc you give 0 in data series then it gives the following error in the console Error: attribute d: Expected number, "M N aN 331.9444999…
Here is my code
<VueApexCharts ref="chart" type="bar" height="400" :options="option" :series="series"
series: [ { name: this.name, data: [], }, ], option: { chart: { height: 400, type: 'bar', fontFamily: 'Roboto, sans-serif', }, plotOptions: { bar: { borderRadius: 9, columnWidth: '20px', dataLabels: { position: 'top', // top, center, bottom }, }, }, colors: [this.color], dataLabels: { enabled: true, formatter: function (val) { return val }, offsetY: -20, style: { fontSize: '0', colors: ['#5BCDF8'], }, }, xaxis: { categories: [ 'Jan1', 'Jan2', 'Jan3', 'Jan4', 'Jan5', 'Jan6', 'Jan7', ], position: 'bottom', axisBorder: { show: false, }, axisTicks: { show: false, }, crosshairs: { fill: { type: 'gradient', gradient: { colorFrom: '#5BCDF8', colorTo: '#5BCDF8', stops: [0, 100], opacityFrom: 0.4, opacityTo: 0.5, }, }, }, tooltip: { enabled: true, }, }, yaxis: { axisBorder: { show: false, },