const chartDom = document.getElementById('main2')
const myChart = window.echarts.init(chartDom)
const arr = new Array(171).fill('')
const barWidthNum = (chartDom.offsetWidth - 50 - (arr.length - 1) * 3) / arr.length
const option = {
grid: {
top: 10,
left: 40,
right: 40,
bottom: 20
},
xAxis: {
type: 'category',
position:"right",
inverse: true,
lineStyle: {
color: "#0F3054",
},
echars 修改横纵坐标
最新推荐文章于 2024-04-10 17:11:19 发布