toolbox: {
orient: 'horizontal', // 布局方式,默认为水平布局,可选为:
x: '100', // 水平安放位置,默认为全图右对齐,可选为:
y: 'top', // 垂直安放位置,默认为全图顶端,可选为:
feature: {
dataZoom: {
// 区域缩放 背景色
brushStyle: {
borderWidth: 1,
color: 'rgba(255,36,36,0.2)',
borderColor: '#ff2424'
},
//图标的颜色
iconStyle: {
borderColor: '#fff',
},
yAxisIndex: 'none',
}, // 数据背景颜色
// dataView: { readOnly: false },
// magicType: { type: ['line', 'bar'] },
restore: {
iconStyle: {
borderColor: '#fff'
},
}
},
// saveAsImage: {}
},