echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] unable to draw pattern for custom series chart

Open balagbmuk opened this issue 1 year ago • 3 comments

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

balagbmuk avatar Feb 15 '24 19:02 balagbmuk

Maybe keep it simple and use bars - Demo Code ?

image 📌 please close issue if problem solved.

helgasoft avatar Feb 15 '24 20:02 helgasoft

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

balagbmuk avatar Feb 15 '24 20:02 balagbmuk

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

helgasoft avatar Feb 15 '24 22:02 helgasoft

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.

2nPlusOne avatar Jul 15 '24 20:07 2nPlusOne