ITeye博客

Echarts

共 1 篇文章

Echarts导出为pdf格式

[html] view plain copy 导出Echarts图,并且存储为pdf格式。 发现Echarts好像是只支持png和jpg的导出,不支持pdf导出。我就想着只能够将png在后台转为pdf了。 首先介绍一下jsp界面的代码。 [html] view plain copy var thisChart = echarts.init(document.getElementById('myChart')); $('#activeResourcesExportBtn').on('click',function(){ var chartExportUrl = 'isms/activeReso…

2017-05-08 21:00 · Echarts · PDF