You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/09/20 06:30:06 UTC
[GitHub] [echarts] JinJianQi commented on pull request #12775: Custom series enhancement (for-next)
JinJianQi commented on PR #12775:
URL: https://github.com/apache/echarts/pull/12775#issuecomment-1251898036
> ### emphasis config
> ```js
> renderItem(params, api) {
> return {
> type: 'rect',
> textContent: {
> // type: 'text' can be ignored
> style: {
> text: 'xxxx',
> fill: 'red'
> },
> emphasis: {
> style: {
> ...
> }
> }
> },
> textConfig: {
> ...
> },
> emphasis: {
> style: {
> ...
> },
> textConfig: {
> ...
> },
> // z2 can also be specified in emphasis.
> z2: 100
> }
> }
> }
> ```
Hello, may I ask that if I just want to emphasis the text 'xxx' without emphasizing its parent rect, how can I do?
And also, when I emphasis the parent rect, I just don't want to emphasis its child, how can I do? Thanks :)
Waiting for your reply with excited ~
--
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