Skip to content

How can I move a legend or make it draggable?

novikov-alexander edited this page Apr 21, 2016 · 6 revisions

There is no way to make standard legend moveable or draggable, but there is a way to make any other div to be an IDD legend.

1). If you are using chart, hide a standard legend by adding data-idd-style="isLegendVisible: false" to chart's div.

2). Then use IDD.Legend(your_div) to turn your_div into an IDD Legend