sowork edited a comment on issue #6526: 请问如何在title上添加图片或者字体图标(在线demo) URL: https://github.com/apache/incubator-echarts/issues/6526#issuecomment-443564865 @100pah 我需要将title底部加一个边框,将标题和内容分割,contentWidth 100% 表示“这个文本块的 100%” 我后面理解的差不多是你这个意思,实际上在写的时候发现rich里面的width写100% 是有问题的,100%控制不了contentWidth的占比 下面的width: '100' 字符串的数值会扩充content的宽度,具体是怎么计算的也没细研究 ``` title: { text: "{aaa| 走路数据分析}", textStyle: { rich: { aaa: { "width":"100", "height":40 } } } } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
