You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "CrazyRedTime (via GitHub)" <gi...@apache.org> on 2023/03/09 18:25:49 UTC
[GitHub] [echarts] CrazyRedTime opened a new issue, #18358: [Feature] Add alternative behavior for select on legend
CrazyRedTime opened a new issue, #18358:
URL: https://github.com/apache/echarts/issues/18358
### What problem does this feature solve?
Now, when we select an item on legend, data of unselected chart element just fade out. How about alternative behavior, when unselected chart element just blurring, but still exists in the chart.
For example:
1. All items selected

2. Yellow item unselected(obviously points mu be blurred too)

### What does the proposed API look like?
legend.clearInactiveItem: boolean;
Default value is true, so true is current behavior.
legend.inactiveItemStyle: {
color?: *someColor;* // if you do not change the color, then the current color is used
opacity: number, form 0 to 1. default value is 0.5;
}
inactiveItemStyle working only if clearInactiveItem is false.
--
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: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Add alternative behavior for select on legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18358:
URL: https://github.com/apache/echarts/issues/18358#issuecomment-2725764014
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Add alternative behavior for select on legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18358: [Feature] Add alternative behavior for select on legend
URL: https://github.com/apache/echarts/issues/18358
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Add alternative behavior for select on legend [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18358:
URL: https://github.com/apache/echarts/issues/18358#issuecomment-2745714249
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] helgasoft commented on issue #18358: [Feature] Add alternative behavior for select on legend
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18358:
URL: https://github.com/apache/echarts/issues/18358#issuecomment-1464331000
Normal behavior of legend uncheck is **hiding** the line, see [official example](https://echarts.apache.org/examples/en/editor.html?c=line-stack).
Selecting ECharts elements is done by **clicking** on them, if selection is authorized.
So _1.All items selected_ and _2. Yellow item unselected_ cannot be reproduced. Please provide sample code.
That said, working at the issue, a **bug** pops out - [line.select.lineStyle](https://echarts.apache.org/en/option.html#series-line.select.lineStyle) is **nonfunctional**.
It has been reported already in #16545. Turns out [**lines**.select.lineStyle](https://echarts.apache.org/en/option.html#series-lines.select.lineStyle) is the same - see #16981.
Conclusion:
_line.select.lineStyle_ and _line.select.lineStyle_ should be **removed** from the API as suggested by @susiwen8 since they are unlikely to be fixed in the forseable future.
My presentiment is that _line_ and _lines_ series code may need to be rewritten someday. Currently they behave more line customized _scatter_ series.
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org