copy legend in Dojo charts

105 Views Asked by At

I am using dojox charts in my project.

On right click and selecting 'copy', at the chart area, copies the chart but I also want the legend to be copied.

I created legend as a separate html element and chart area as a separate element.

How do I go about it ?

Thanks

1

There are 1 best solutions below

2
Eugene Lazutkin On

Copying is not a functionality of chart, it is implemented by some browsers natively. It is up to you to provide the copy functionality for a legend.