retnag opened a new issue, #17785: URL: https://github.com/apache/echarts/issues/17785
### Version 5.3.3 ### Link to Minimal Reproduction https://echarts.apache.org/examples/en/editor.html?c=sunburst-monochrome&edit=1&code=MYewdgzgLgBAllApgWwIwwLwwN4CgYygA2IATgFwwDkA5qYomFQDT4wAmiwAhkeXgQLEylKqRoAjbgAoADMxjzFC2QDoArAEoWbAu24QAFgEFSpbgE8AGpQDaqFQF1WgjgZNnLATTsAmBerOujAQFsgSIEQAynAAXoiUDsGkIFDcUHDglACy6YaqAAoAkjAA9DAAbC6CoeGRovTAUDoEAL64rQDcuKCQsAgovpg4bMIU1ADEAGJTABwAwgDs6lQd3b3Q8EjIAMzDAoSRIpMzAEIALACcl6tdPeCb-mnDtmwHQoZwROz0YHbBBHerhgADdeABXBIwdTVYGET7fX7_OGuIEo0EQqFJdGuAbIKJQCxEKF41AA4GtWEotEosFESGUfzkuHABE_RjInGo5k4ukMmDYrnAvEEokk7a-Hlw9pCmCOKUwSkKmkstlImCvWWAhVwvlYnWCGVC-Vco1woLokWE4mUUnkpVwlUY-lY-Q81lfdl_DXKg16yhVA0exEcn1akbhgj-gVU2VWsW27Zk8MOrVO9HR5Na1Oy9O0zGJWNC-M2raDA1tIvovO6gsCiuKg0W4vbUWlvE7BU56l-utM2XBr2c3MNqN1rOys045tckvilCd01VwQ1-Ge9WatOj538wXhueJ8spptdnkz4Wt63ztD24Lng9lm-Vt7BaOXKmDjfkp3R87Lz-hpu1a9i6jLLril4Jo-kpLr6A5qoBDarq4mbgSiD52sesomjiU6uOeEEoG214ToaRZOgB3pAT2srRjsaEfOuiHhshgiZg23ZcqxY6gTG24YRKHEnqaZ7LgJC63vhVLicgMGKtUQLRosH4IVR37uqpw40UKqEGjJi64Whq50Qxa4hmpLHbrpkaPsRh6yRxpnajZ7FYcapkyXJ6KccCxl9qZl FaVxVnjo5SEhbxe5ajJpEidhHmQe2SanuiBGCPpkmCPeiUkWwqZAoFYa-Ty0aBuihXUY6IG7glRFXvZXkoj53K0f5QaaUVI4uW1NmeUJ8V6Tl9mxRSRnVVitX4vVj4Gd5ok8hl0rkSVdb0RpTEWTifmRV2Y3wRtQVbRFNX8UN0H9cau1wTpoVxSiaUEItFJ3tJZ2YY2jjdCAAAOGTgPsbAQIgpBwIgECUEC5jsHA4LgxqVCoOoACkLDULMsgo-ehLfVCVAQOCYASOCpDQC0NRkFAlAE5wABmcBgIg7BUig32GAYcBwzSNMgMAsOiNwYDAGDUBkKsrjdk83CUJLVJENwEiIHwEbAikaRIA03DQ7wYtkcExIgorcO2NldVQTSYyiBM7DW2TrgRKQnCkAA6nA7BQIYjLBEa7RdEAA ### Steps to Reproduce 1. I used this example as a base: https://echarts.apache.org/examples/en/editor.html?c=sunburst-monochrome&edit=1 2. I added a decal configuration to one of the three itemStyle object, and changed its color to green ``` const item1 = { color: 'green', decal:{ color: 'rgba(0, 0, 0, 0.5)', dashArrayX: [1, 0], dashArrayY: [2, 5], symbolSize: 1, rotation: Math.PI / 6, symbol: 'rect', } }; ``` ### Current Behavior The decal options in the itemStyle of the sunburst data is ignored, the color of said data items is successfully set to green, but the stripes are not shown. ### Expected Behavior I expected, to see a striped decal pattern in the green slices of the chart, similar to how you can set the decal pattern on pie chart slices on a per-series or per-data-item basis. See [example](https://echarts.apache.org/examples/en/editor.html?c=pie-simple&code=MYewdgzgLgBAllApgWwIwwLwwN4CgYygA2IATgFwwDkA5qYomFQDT4wAmiwAhkeXgQLEylKqRoAjbgAoADMxjzFC2QDoArAEoWbAu24QAFgEFSpbgE8AGpQDaqFQF1WgjgZNnLATTsAmBerOujAQFsgSIEQAynAAXoiUDsGkIFDcUHDglACy6YaqAAoAkjAA9DAAbC6CoeGRovTAUDoEAL64rQDcuLggAA4Z4Jg4bBlQRAkjrkgAHlCiAEqIAGaI9KQwIMsw3DAA6ogSEAiILTUArhKz89QAYtwA1ogwACLp3GcEE8s3VMCMSFIVDYrWqUBAkQyfUoAkEUFIcBoNDWohOyGBbWqE2RYHYMOCZDgANEADc1hkeERPjBvr9aRiYKC2BA1kSIHZgrDXGBuMhJlRjMB_hAIDBbil0dVphY-vy-kTqQRzOw4Od2dR1LIAKSKtxpDmuVzYGAk3jnSaoWQAFgAHAoeXzRFFENxSMBDDAAKJgGhwMCnBRoqJQCwTSho1BMw2CY2mojmygAdgAzOp7bz-S84I1moypYbY2bJuobUoHfzPchuHAqXngkaTUXKLarenHdQAKpgTJgGDGdgQKh16MEQvxybJ2RljOiABqcE4ID7A6H7WjQWjKD6hgMcHVXMNQZDYamI4IRm47BAAHcAELxigwS356MXq_XgDyy2WLKgNmU9aGm-N4AMKRCI1DiFIcgqLBigaNogFtIBa6C KhjgdJ0QA) ### Environment ```markdown - OS: Windows - Browser: Edge Version 100.0.1185.29 (64-Bit), Firefox Version 105.0.3 (64-Bit) - Framework: React@17 ``` ### Any additional comments? Additional note: both series-sunburst.itemStyle.decal, and series-sunburst.data.itemStyle.decal seem to be ignored. If I set the decal globally, it works (all slices get a decal pattern), but It should be possible to toggle the decal effect manually for only certain slices, not all of them. This seems to me, is a bug, as it works differently than for pie-charts for example, as I already mentioned (See [example](https://echarts.apache.org/examples/en/editor.html?c=pie-simple&code=MYewdgzgLgBAllApgWwIwwLwwN4CgYygA2IATgFwwDkA5qYomFQDT4wAmiwAhkeXgQLEylKqRoAjbgAoADMxjzFC2QDoArAEoWbAu24QAFgEFSpbgE8AGpQDaqFQF1WgjgZNnLATTsAmBerOujAQFsgSIEQAynAAXoiUDsGkIFDcUHDglACy6YaqAAoAkjAA9DAAbC6CoeGRovTAUDoEAL64rQDcuLggAA4Z4Jg4bBlQRAkjrkgAHlCiAEqIAGaI9KQwIMsw3DAA6ogSEAiILTUArhKz89QAYtwA1ogwACLp3GcEE8s3VMCMSFIVDYrWqUBAkQyfUoAkEUFIcBoNDWohOyGBbWqE2RYHYMOCZDgANEADc1hkeERPjBvr9aRiYKC2BA1kSIHZgrDXGBuMhJlRjMB_hAIDBbil0dVphY-vy-kTqQRzOw4Od2dR1LIAKSKtxpDmuVzYGAk3jnSaoWQAFgAHAoeXzRFFENxSMBDDAAKJgGhwMCnBRoqJQCwTSho1BMw2CY2mojmygAdgAzOp7bz-S84I1moypYbY2bJuobUoHfzPchuHAqXngkaTUXKLarenHdQAKpgTJgGDGdgQKh16MEQvxybJ2RljOiABqcE4ID7A6H7WjQWjKD6hgMcHVXMNQZDYamI4IRm47BAAHcAELxigwS356MXq_XgDyy2WLKgNmU9aGm-N4AMKRCI1DiFIcgqLBigaNogFtIBa6CKhjgdJ0QA)) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
