Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't control decal pattern per series #14350

Open
sthenault opened this issue Feb 25, 2021 · 3 comments
Open

Can't control decal pattern per series #14350

sthenault opened this issue Feb 25, 2021 · 3 comments
Labels
en This issue is in English support topic: decal

Comments

@sthenault
Copy link

Version

5.0.2

Reproduction link

https://jsfiddle.net/w8a6k35v/

Steps to reproduce

Activate decal then attempt to control pattern for each series.

What is expected?

Pattern for each series is defined by what's defined in series' itemStyle.decal

What is actually happening?

what's defined in series' itemStyle.decal is ignored for a randomly selected patter


I would like to control echarts decal pattern in a stacked bar chart. By reading https://echarts.apache.org/en/option.html#series-bar.itemStyle.decal(Object%20%7C%20'none') I supposed I could configure here, for each series, the pattern to use - the idea being that several series of the same stack should use the same pattern.

However, when decal are activated (https://echarts.apache.org/en/option.html#aria.decal.show), it seems to ignore the per-series settings (admittedly I only attempted to set "symbol"). Worse, if I set decal='none' as documented for a series itemStyle.decal, I get a ton of style.js:97 Uncaught TypeError: Cannot create property 'dirty' on string 'none' error messages in the console and the chart doesn't display.

@echarts-bot
Copy link

echarts-bot bot commented Feb 25, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Feb 25, 2021
@Ovilia Ovilia self-assigned this Mar 3, 2021
@Ovilia
Copy link
Contributor

Ovilia commented Aug 29, 2022

According to the doc, series level decal should be set to aria.decal.decals instead of series.decal.

@Ovilia Ovilia removed their assignment Aug 29, 2022
@Ovilia Ovilia added support and removed bug pending We are not sure about whether this is a bug/new feature. labels Aug 29, 2022
@helgasoft
Copy link

see demo in #19619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English support topic: decal
Projects
None yet
Development

No branches or pull requests

3 participants