In a template, insert a picture as a reference slot.
Step 2: Insert a tag
Place a tag in the alternative text of the picture {d.chartOptions:chart} with the formatter :chart. Without :chart, the attribute {d.chartOptions} is considered as an image.
Step 3: Prepare JSON data
Design your JSON dataset by adding an object named chartOptions. The object must contain ECharts options and your data.