apache / echarts

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

[Bug] unable to draw pattern for custom series chart #19619

Open balagbmuk opened 7 months ago

balagbmuk commented 7 months ago

Version

5.4.3

Link to Minimal Reproduction

https://codepen.io/balagbm/pen/YzgByYe

Steps to Reproduce

https://codepen.io/balagbm/pen/YzgByYe

attached the sample code here. I am trying to create a chart with custom series with rectangular pattern for each series. please refer the attached link

Current Behavior

issue

I am unable to draw a patter for the chart series

Expected Behavior

I am expecting the pattern to be applied for the chart series

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

helgasoft commented 7 months ago

Maybe keep it simple and use bars - Demo Code ?

image 📌 please close issue if problem solved.

balagbmuk commented 7 months ago

Hi @helgasoft, we can draw a patter with simple bar chart, but I was trying to create a custom series with pattern.

helgasoft commented 7 months ago

ok, indeed seems like a bug in custom.itemStyle.decal. Even for the general itemStyle, opacity and color can be set, but not decal - Demo Code

2nPlusOne commented 2 months ago

I'm facing this issue as well. Attempting to fill the sector of a polar heatmap with diagonal stripes when the data for the sector is null, indicating lack of collection data instead of merely a low value.