xiawan

Results 2 comments of xiawan

> I had this morning also this error message. Thanks @jianxinliu for the hint with the _skipAutoScale_ reference. > > Workaround: Set skipAutoScale to true. `htmlToImage.toPng(node, { skipAutoScale: true })`...

一个思路,仅供参考 ps: 比较适合已有一个 puppeteer 服务的。 使用 echarts-java engine 渲染自定义的 hbs 文件。让 puppeteer 和自定义的 hbs 文件进行交互。可以将生成图片的自定义逻辑都写在 hbs 文件内,并向 puppeteer 提供触发条件。 自定义 hbs: ```html ECharts Demo ECharts Java Download Image function createChart()...