You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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,
},
The text was updated successfully, but these errors were encountered: