0
내가 내 차트에 드래그 수 있도록 노력하고 원인,하지만 난 단지 같은 dragstart 및 dragend 이벤트를 얻었다. 원점D3 드래그 이벤트 형식 오류
this._drag = d3.behavior.drag()
//.origin(function(d) { return d;}) //if uncommented, throws error!
.on("drag", function(d){console.log("drag!", d); self.on_drag(this);})
.on("dragstart", function(){self.on_drag_start(this);})
.on("dragend", function(){self.on_drag_end(this);})
;
귀하의 데이터는 아마도 올바른 형식이 아닙니다. 설명서를 보셨습니까? –