求助 echarts散点图在设置背景图时,如何在dataZoom缩放拖拽时背景图也等比例改变?

新手上路,请多包涵

var fullImage = new Image();
option = {
grid:{
show : true,
width: 500,
height: 300,
backgroundColor: {
image: fullImage ,
repeat: 'repeat'
}
},
dataZoom:[
{
type: 'inside',
xAxisIndex: [0]
},
{
type: 'inside',
yAxisIndex:[0],
}
]
}

阅读 2.5k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题