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/06/01 03:36:50 UTC

[GitHub] [echarts-doc] plainheart commented on a diff in pull request #251: feat(tree): add `relative` for `tree.emphasis.focus`

plainheart commented on code in PR #251:
URL: https://github.com/apache/echarts-doc/pull/251#discussion_r886290906


##########
en/option/partial/emphasis-common.md:
##########
@@ -45,6 +45,9 @@ When the data is highlighted, whether to fade out of other data to focus the hig
 + `'ancestor'` Focus on all ancestor nodes.
 + `'descendant'` Focus on all descendants nodes.
 {{ /if }}
+{{ if: ${hasRelative} }}
++ `'relative'` since `v${version}`, focus on all ancestor and descendants nodes.

Review Comment:
   Could we move the version hint to the end of the sentence and wrap it in parentheses? The same to Chinese documentation.



-- 
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