JSXGraph - 随标签移动点

JSXGraph - Move point along with label

是否可以在拖动标签的同时移动点? 在此fiddle拖动点时,其标签也随之移动。

    var board = JXG.JSXGraph.initBoard('jsxgbox', { axis: true});

    var p1 = board.create('point', [-3,-1], {name: "Drag Me",label:{fixed:false}});

暂时无法通过拖动标签来移动点。另一种方法是创建一个没有标签的点和一个包含标签文本的单独文本元素。然后将两个元素放在一个组中:

var board = JXG.JSXGraph.initBoard('jsxgbox', {
    axis: true
});

var p1 = board.create('point', [-3,-1], {name: "", label:{visible:false}});
var t1 = board.create('text', [-2.8, -0.8, "Drag me"]);
var g1 = board.create('group', [p1, t1]);

有关示例,请参阅 http://jsfiddle.net/c28bpzLq/4/