Version
5.1.2
Steps to reproduce
{
id: 'lines-2',
type: 'lines',
z: 4,
coordinateSystem: 'geo',
lineStyle: {
type: [3, 5],
DashOffset: 10,
width: 2.5,
opacity: 0.1,
color: 'white',
curveness: -0.35,
},
label: {
show: true,
position: 'middle',
opacity: 1,
formatter: function(A) {
return '10 hrs';
},
},
labelLayout(params) {
return {
x: params.rect.x - 10,
y: params.rect.y - 10,
rotate: 0,
fontSize: 14,
draggable: true,
}
},
data: CordsData,
},
What is expected?
设置series-lines.labelLayout. draggable=true,label可以拖拽以调整位置
What is actually happening?
在geo地图上series-lines.labelLayout. draggable设置为true时,label不能拖拽
同时series-lines.labelLayout. x,series-lines.labelLayout. y 的设置也没有效果
Version
5.1.2
Steps to reproduce
What is expected?
设置series-lines.labelLayout. draggable=true,label可以拖拽以调整位置
What is actually happening?
在geo地图上series-lines.labelLayout. draggable设置为true时,label不能拖拽
同时series-lines.labelLayout. x,series-lines.labelLayout. y 的设置也没有效果