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

[Feature] Border styles in "inBrush" and "outOfBrush" options #19595

Open
SvajkaJ opened this issue Feb 5, 2024 · 1 comment
Open

[Feature] Border styles in "inBrush" and "outOfBrush" options #19595

SvajkaJ opened this issue Feb 5, 2024 · 1 comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@SvajkaJ
Copy link

SvajkaJ commented Feb 5, 2024

What problem does this feature solve?

Currently:
Currently, it is only possible to configure following options: https://echarts.apache.org/en/option.html#brush.inBrush
Custom styling of the border is possible when using simple selection. For example:

...
selectedMode: 'multiple',
select: {
        itemStyle: {
          borderWidth: 1,
          borderColor: 'red'
        }
},
...

However, the same (or similar) behaviour is not possible when using brush with the options inBrush and outOfBrush.

What does the proposed API look like?

Add following properties to the inBrush and outOfBrush options:

borderWidth,
borderColor,
borderType,
borderJoin,
borderCap,
borderDashOffset,
borderMiterLimit,

The types are the same as in the select.itemStyle option.

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Feb 5, 2024
@zz925625
Copy link

zz925625 commented Aug 9, 2024

This function is not working

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 new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

2 participants