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 2021/07/26 05:38:12 UTC

[GitHub] [echarts] plainheart commented on a change in pull request #15404: Label text style support `lineOverflow` and `ellipsis`

plainheart commented on a change in pull request #15404:
URL: https://github.com/apache/echarts/pull/15404#discussion_r676304189



##########
File path: src/util/types.ts
##########
@@ -1109,6 +1109,8 @@ export interface LabelOption extends TextCommonOption {
     // formatter?: string | ((params: CallbackDataParams) => string)
 
     rich?: Dictionary<TextCommonOption>
+    lineOverflow?: 'truncate'

Review comment:
       Just take this line of code, it's not to specify the default value but to define the type of `lineOverflow`.




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