相关统计图表中X坐标显示所有标签

This commit is contained in:
GoEdgeLab
2021-02-24 11:11:41 +08:00
parent e86ad0f4da
commit bfb5fa72b8
3 changed files with 12 additions and 3 deletions

View File

@@ -38,7 +38,10 @@ Tea.context(function () {
let chart = echarts.init(chartBox)
let option = {
xAxis: {
data: stats.map(xFunc)
data: stats.map(xFunc),
axisLabel: {
interval: 0
}
},
yAxis: {
axisLabel: {