php - export jqplot to pdf, using the png image generated dynamically -


i using jqplot show charts in application. want export chart in pdf. accomplish this, planning generate runtime image of chart. there button in jqplot shows image generated jqplot using javascript. uses following code.

 btn.bind('click', {chart: $(this)}, function(evt) {                     var imgelem = evt.data.chart.jqplottoimageelem();                     var div = $(this).nextall('div.jqplot-image-container').first();                     div.children('div.jqplot-image-container-content').empty();                     div.children('div.jqplot-image-container-content').append(imgelem);                     div.show(500);                     div = null;                 }); 

i want @ runtime using php had no idea of how acheive this. me on this.thanks


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -