Hi All
I am using igDataChart i have to generate image or pint option using the below code.
var pngImage = $(".selector").igDataChart("exportImage");
$(".selector").igDataChart("print");
but i can't able to use the legend div please check the screen sort and update to me.
Thanks in advance
Hello,
The datachart is a canvas element which is in the selector class , but the legend item is in separate table/div outside the scope of the selector class(in which the data chart resides). So when you export datachart as an image it doesn't include the legend div.
I'm trying to extract the canvas of the legend and convert it into image, I'm still trying to find a work around for it.
Thanks,
Phanindra