I will draw a line chart by echart library. When I draw a chart, it shows grid too. I do not need grid, but I cannot remove it. I have checked out Echart options and I know that grid:{show=false} is an option of echart but it is not effective. My snippet code is below.
function lineGraph(xAxisLabels){
var echartLine = echarts.init(document.getElementById('myElineChart'));
echartLine.setOption({
grid: {show: false},
xAxis: [{
type: 'category',
showGrid: false,
data: xAxisLabels
}],
yAxis: [{
type: 'value',
}],
series: [{
name: 'Actual',
type: 'line',
data: [820, 932, 901, 934, 1290, 1330, 1320]
}],
});}
I appreciate it if you help me.