有没有办法允许鼠标拖动导航

Is there a way to allow mouse drag navigation

jsxgraph 是否支持拖动导航系统,拖动时边界框会随着光标移动?

看来启用pan属性就可以了:

var board = JXG.JSXGraph.initBoard('jxgbox',{
            axis:true,
            boundingbox: [-10,10,10,-10],
            pan: {
                enabled: true,
                needShift: false
            }
        });

https://jsfiddle.net/vcL7aepo/1/ . Further information can be found at https://jsxgraph.org/docs/symbols/JXG.Board.html#pan 现场观看。

最良好的祝愿, 阿尔弗雷德