请教highcharts如何实现拖动点带动线拖动的问题
1个回答
展开全部
plotOptions: {
line:{
dateGrouping:{enbaled:false}
},
series: {
cursor: 'pointer',
allowPointSelect: true,
events:{
legendItemClick: lengedItemFun
},
point: {
events: { drag: dragFun, //拖
drop: dropFun //放
}
},
stickyTracking: false
}
},
series: ${templist}//数据集合
});
依赖Highcharts 文件draggable-points.js
line:{
dateGrouping:{enbaled:false}
},
series: {
cursor: 'pointer',
allowPointSelect: true,
events:{
legendItemClick: lengedItemFun
},
point: {
events: { drag: dragFun, //拖
drop: dropFun //放
}
},
stickyTracking: false
}
},
series: ${templist}//数据集合
});
依赖Highcharts 文件draggable-points.js
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询