admin管理员组文章数量:1426626
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
本文标签: javascriptecharts hide xaxis and ticksStack Overflow
版权声明:本文标题:javascript - echarts hide xaxis and ticks - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745481527a2660194.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论