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
Phani is right about the two separate containers of the DataChart and legend. The method ExportImage will export only the chart element, although it will not suite your entire needs, so using of the 3rd party library html2canvas is a good alternative.
Hi Phani Kay
Thanks For your reply
Its works. Its really helpful for me.
Thanks.
Update fiddle http://jsfiddle.net/2NWcL/8/
Hi,
Please go through the fiddle http://jsfiddle.net/2NWcL/7/.
Basically I'm getting the whole body with the graph, legend and then triggering download using link attribute.
Thanks,
Phanindra.
Hello Phani kay,
Thanks for your reply,If you got the solution please update to me.