How to move the legend in Highcharts

the legend placement of the Highcharts library is not really intelligent, so I'd like to offer the user the possibility to drag the legend as he likes. It seems that in principle that could be done via

jQuery(".highcharts-legend").draggable();

But it seems that "It doesn't work because jQuery draggable bases on position absolute and top/left css values and highcharts draw chart inside SVG namespace - position absolute or top/left css attribute doesn't work there" (source).

Does anyone know nevertheless a solution?

Thanks for any hints!


这个建议是要求的,所以你可以在这里投票:http://highcharts.uservoice.com/forums/55896-general/suggestions/912335-draggable-legend-box

链接地址: http://www.djcxy.com/p/74442.html

上一篇: 在调整窗口大小之前,响应式高图不能正确调整大小

下一篇: 如何在Highcharts中移动图例