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
Post a Comment