Convert ECHARTS to PNG
Turn ECHARTS files into PNG. The chart drawn by Apache ECharts at 800 by 500 pixels unless the option sets width and height, and saved at twice that size for sharp lines and text, without its animation.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop ECHARTS files on the dialor turn it to pick what to do
A chart image from an ECharts option.The chart is drawn by Apache ECharts and saved as one PNG file.
What you get
A PNG of the chart as Apache ECharts draws it. The chart is 800 by 500 pixels unless the option sets width and height.
The image is saved at twice that size, so lines and text stay sharp. The animation is left out, so you get the finished chart.
What it leaves behind
Map charts are not supported. Their outlines are not fetched, so the conversion stops with
unsupported_elements.Next steps
Once you have the PNG, you can change it further. Resize PNG changes its dimensions, and compress PNG is there for the file itself.
ECHARTS and PNG.What each format is.
The formats
ECharts Option
An Apache ECharts chart option saved as JSON, with its series, axes, legend and tooltip, as dashboards and agents write it.
- Extensions
- .echarts.json .echarts
- MIME type
- application
/vnd .echarts +json - Kind
- Text and data
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same ECHARTS to PNG conversion through the API, for your app or your agent.
$ cv convert report.echarts.json report.png$ cv convert report.echarts.json report.pngQuestions.What people ask about ECHARTS to PNG.
The chart is 800 by 500 pixels unless the option sets width and height. The PNG is saved at twice that size.
No. The animation is left out, and the PNG shows the chart as drawn.
The option holds a map chart. Map outlines are not fetched, so the conversion stops with this code.
An Apache ECharts chart option saved as JSON, with its series, axes, legend and tooltip. The file name ends in echarts.json or echarts.