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/08/28 00:54:20 UTC

[GitHub] r3qu3stt1me0ut commented on issue #8944: 环状图能否在label中显示所有数据的总和?

r3qu3stt1me0ut commented on issue #8944: 环状图能否在label中显示所有数据的总和?
URL: https://github.com/apache/incubator-echarts/issues/8944#issuecomment-416415322
 
 
   可以把计算好的总数放在title里面。       
   ` title: {
             text: `合计\n${total.toFixed(2)}万`,
             textStyle: {
               color: "#fff",
               fontSize: 20,
             },
             x: "center",
             y: "center"
           },`

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