How can I hide xaxis and ticks in echarts? The closest I have e is setting the color to the page color but the ticks still show in gray:
xAxis: {
type: 'category',
splitLine:{ show:false },
axisLabel: {
textStyle: {
color: 'white'
}
},
}
How can I hide xaxis and ticks in echarts? The closest I have e is setting the color to the page color but the ticks still show in gray:
xAxis: {
type: 'category',
splitLine:{ show:false },
axisLabel: {
textStyle: {
color: 'white'
}
},
}
Share
Improve this question
asked Aug 22, 2022 at 2:34
pguardiariopguardiario
55.1k21 gold badges129 silver badges168 bronze badges
1 Answer
Reset to default 6try expanding on your Series options:
xAxis: {
type: 'category',
splitLine:{ show: false },
axisLine: { show: false },
axisTick: { show: false },
axisLabel: { show: false }
},
}
Here are the defaults