Echarts好像是只支持png和jpg的导出,不支持pdf导出.我就想着只能够将png在后台转为pdf了. 首先介绍一下jsp界面的代码. var thisChart = echarts.init(document.getElementById('myChart'));$('#activeResourcesExportBtn').on('click',function(){ var chartExportUrl = 'isms/activeResource/export.do'; var pi