2

I need to copy highchart to clipboard as image, how i can do that?

Ther's export function build-in but it shows window prompt to open/download but i want to right click on chart (or use 'export' button in right upper corner) and next choose 'copy image to clipboard'.

Need your help once again boys!

breq
  • 24,412
  • 26
  • 65
  • 106

1 Answers1

1

To my best knowledge, I don't think you can do it. At least not across browsers, but I think IE allows copying contents to clipboard. In fact, IE9 even allows right clicking the highChart's chart and gives option of "copy" which copies it to the clipboard. IE9 basically allows this on any SVG object. Firefox and Chrome don't allow copying contents to clipboard, not through JS, there are various flash options, but I would suggest staying away unless you absolutely must

Jugal Thakkar
  • 13,432
  • 4
  • 61
  • 79