v-charts 是x轴的文字斜着展示
作者:互联网
<ve-line :data="lineData" :extend="chartExtend"></ve-line>
chartExtend: { // x轴字体斜显示 xAxis: { axisLabel: { margin: 15, interval: 0, rotate: 30, formatter: name => { return echarts.format.truncateText(name, 100, '14px Microsoft Yahei') } }, triggerEvent: true } },
标签:文字,name,展示,30,charts,14px,formatter,echarts 来源: https://www.cnblogs.com/wjs0509/p/12055377.html