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/12/13 06:41:37 UTC

[GitHub] [echarts] 953155109 commented on issue #8192: subtextStyle使用rich后属性后,样式没有变化

953155109 commented on issue #8192:
URL: https://github.com/apache/echarts/issues/8192#issuecomment-1347818457

   chart_15409992085bd9c8289fdca.setOption({
   	"title": {
   		"text": "Main Title",
   		"subtext": "Sub Title\n{hr|}",
   		"show": true,
   		"width": "100%",
   		"top": "top",
   		"left": "center",
   		"textStyle": {"color": "#306fb6"},
   		"subtextStyle": {
   			"color": "#306fb6",
                            "formatter": '{a}',
   			"rich": {
   				hr: {
   					"borderColor": "#999999",
   					"width": "100%",
   					"borderWidth": 2,
   					"height": 2,
   					"lineHeight": 10
   				}
   			}
   		}
   	}
   });


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