echarts legend设置了orient: "horizontal",依然纵向显示?
这是我的legend设置,容器宽度足够
legend: {
orient: "horizontal", // 'vertical'
x: "right", // 'center' | 'left' | {number},
y: "top", // 'ce
width: 10,
height: 10,
data: ["区县", "乡镇"],
textStyle: {
fontSize: 12
},
selected: {
区县: false
}
},