Xqrrrr commented on issue #15567:
URL: https://github.com/apache/echarts/issues/15567#issuecomment-903582824


   
   
   
   > You may need to specify a valid 
[`backgroundColor`](https://echarts.apache.org/en/option.html#legend.textStyle.backgroundColor)
 to enable the text box.
   > 
   > Here is the related logic: 
https://github.com/ecomfe/zrender/blob/master/src/graphic/Text.ts#L824
   > 
   > @pissang Is it by design that the text box won't be drawn if the developer 
doesn't specify the `backgroundColor`(null/undefined)?
   
   I don't know if it's the backgroundColor problem. The default value of 
backgroundColor is transparent, and the echarts 4 version can directly use 
padding . So I don't know what the problem is, But I used rich to solve my 
problem


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to