You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/11/05 09:51:26 UTC

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

arashdalir commented on issue #8192: subtextStyle使用rich后属性后,样式没有变化
URL: https://github.com/apache/incubator-echarts/issues/8192#issuecomment-435815582
 
 
   ```javascript
   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",
   			"rich": {
   				hr: {
   					"borderColor": "#999999",
   					"width": "100%",
   					"borderWidth": 2,
   					"height": 2,
   					"lineHeight": 10
   				}
   			}
   		}
   	}
   });
   ```
   
   ![image](https://user-images.githubusercontent.com/2896170/47990763-a3351680-e0e8-11e8-866c-86da42ebbbb4.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org