apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.1k stars 19.6k forks source link

[Question] Custom series type - Render svg pattern into a rect #20179

Closed songwillow closed 1 month ago

songwillow commented 1 month ago

What problem does this feature solve?

I'm using the custom series chart to display a modified bar chart. Based on the profile example.

I've been trying to render an svg on the rect object but rect doesn't seem to support this functionality

image

What does the proposed API look like?

This is what I'm trying to achieve sample

helgasoft commented 1 month ago

try horizontal stacked bars with decal, or custom line segments #18634 (but probably without decal).

songwillow commented 1 month ago

Thanks a lot, this works perfectly