You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "dominikj111 (via GitHub)" <gi...@apache.org> on 2023/05/24 18:33:00 UTC

[GitHub] [echarts] dominikj111 commented on issue #16720: [Bug] Sunburst center label not correctly aligned with specific children amount

dominikj111 commented on issue #16720:
URL: https://github.com/apache/echarts/issues/16720#issuecomment-1561748371

   I was dealing with this problem and raised this ticket https://github.com/apache/echarts/issues/17856.
   
   I'm surprised that I didn't find your ticket before + I don't see any answers here :) so I'm not alone I suppose.
   Anyway, I dealt with this problem with the `title` option.
   
   ```
   const option = {
   	title: {
   		text: "HOHOHO this is some long text",
   		left: "center",
   		top: "middle",
   		textStyle: {
   			fontSize: 12,
   			width: 80,
   			overflow: "break",
   		},
   		borderWidth: 1,
   		borderColor: "black",
   		backgroundColor: "#ffbbff",
   	},
   },
   ```
   
   I'm pretty sure you solved it somehow, I'm attaching some solution here for future reference.
   


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