Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器端导出echarts的图片有合适方案吗 #837

Closed
wdp284551135 opened this issue Nov 3, 2014 · 10 comments
Closed

服务器端导出echarts的图片有合适方案吗 #837

wdp284551135 opened this issue Nov 3, 2014 · 10 comments

Comments

@wdp284551135
Copy link

请问一下,最近在做一个定时器导出报表的功能,需要导出web页面生成的同样效果的echarts图片,请问有合适的解决方案吗?

@kener
Copy link
Contributor

kener commented Nov 3, 2014

#554 #609

@XiaodiKong
Copy link

类似的问题转了好久个, @kener 请问有没有直接的方法或者解决方案?看了几个issue,也没找到那个是真的解决办法

@wdp284551135
Copy link
Author

我用别的方式实现了,你可以参考下,phantomjs+nodejs来做,phantomjs来调用echart.js渲染图表,然后用nodejs调用phantomjs得到渲染后图表的base64图片编码

@XiaodiKong
Copy link

@wdp284551135 我现在也是打算这么做,但是过程中遇到点问题,请问是否可以把你的代码给我看下?

@XiaodiKong
Copy link

@wdp284551135 能否给我个联系方式?我想和你请教下

@wdp284551135
Copy link
Author

用户名这个数字就是qq

@debug2012
Copy link

我做了一个服务端导出echarts图片的服务

https://debug2012.github.io/2017/04/14/export-echarts-image/

@YH-Chen
Copy link

YH-Chen commented Nov 7, 2019

除了node-canvas(下载不了)、phantomjs、puppeteer(不让使用),还有其他方法吗

@xiaomaiyun
Copy link

@YH-Chen
Copy link

YH-Chen commented Jun 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants