[GitHub] [incubator-echarts] TemptationParadise commented on issue #13259: dynamic multiple titles auto fit in a multiple funnel chart?在一个多图漏斗图中,如何让多个title自适应展示?

2020-09-22 Thread GitBox


TemptationParadise commented on issue #13259:
URL: 
https://github.com/apache/incubator-echarts/issues/13259#issuecomment-696636753


   > Not sure how you did it. I tried it and it works
   > 
   > ```js
   > option = {
   > "tooltip": {
   > "trigger": "item"
   > },
   > "legend": {
   > "data": [
   > "详情页uv",
   > "yyy",
   > "",
   > "订单uv",
   > "商品发布24小时之内成交的商品数"
   > ],
   > "type": "scroll"
   > },
   > "series": [{
   > "name": "其他分类",
   > "type": "funnel",
   > "width": "45%",
   > "left": "0%",
   > "sort": "none",
   > "label": {
   > "position": "inside"
   > },
   > "data": [{
   > "name": "详情页uv",
   > "value": "193661",
   > "transformRatio": "99.14%"
   > },
   > {
   > "name": "yyy",
   > "value": "191990",
   > "transformRatio": "2.98%"
   > },
   > {
   > "name": "",
   > "value": "5730",
   > "transformRatio": "70.84%"
   > },
   > {
   > "name": "订单uv",
   > "value": "4059",
   > "transformRatio": "41.17%"
   > },
   > {
   > "name": "商品发布24小时之内成交的商品数",
   > "value": "1671",
   > "transformRatio": "0%"
   > }
   > ]
   > },
   > {
   > "name": "手机",
   > "type": "funnel",
   > "width": "45%",
   > "left": "50%",
   > "sort": "none",
   > "label": {
   > "position": "inside"
   > },
   > "data": [{
   > "name": "详情页uv",
   > "value": "602805",
   > "transformRatio": "98.37%"
   > },
   > {
   > "name": "yyy",
   > "value": "592960",
   > "transformRatio": "6.97%"
   > },
   > {
   > "name": "",
   > "value": "41351",
   > "transformRatio": "76.19%"
   > },
   > {
   > "name": "订单uv",
   > "value": "31506",
   > "transformRatio": "31.25%"
   > },
   > {
   > "name": "商品发布24小时之内成交的商品数",
   > "value": "9845",
   > "transformRatio": "0%"
   > }
   > ]
   > }
   > ],
   > "title": [{
   > "text": "其他分类",
   > "top": "bottom",
   > textAlign: 'center',
   > "textStyle": {
   > "fontFamily": "sans-serif",
   > "fontSize": "18"
   > },
   > "left": "22.5%"
   > },
   > {
   > "text": "手机",
   > "top": "bottom",
   > textAlign: 'center',
   > "textStyle": {
   > "fontFamily": "sans-serif",
   > "fontSize": "18"
   > },
   > "left": "72.5%"
   > }
   > ]
   > }
   > ```
   
   orz!!!cool!!!thank you!!!mogul



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] TemptationParadise commented on issue #13259: dynamic multiple titles auto fit in a multiple funnel chart?在一个多图漏斗图中,如何让多个title自适应展示?

2020-09-22 Thread GitBox


TemptationParadise commented on issue #13259:
URL: 
https://github.com/apache/incubator-echarts/issues/13259#issuecomment-696636753


   > Not sure how you did it. I tried it and it works
   > 
   > ```js
   > option = {
   > "tooltip": {
   > "trigger": "item"
   > },
   > "legend": {
   > "data": [
   > "详情页uv",
   > "yyy",
   > "",
   > "订单uv",
   > "商品发布24小时之内成交的商品数"
   > ],
   > "type": "scroll"
   > },
   > "series": [{
   > "name": "其他分类",
   > "type": "funnel",
   > "width": "45%",
   > "left": "0%",
   > "sort": "none",
   > "label": {
   > "position": "inside"
   > },
   > "data": [{
   > "name": "详情页uv",
   > "value": "193661",
   > "transformRatio": "99.14%"
   > },
   > {
   > "name": "yyy",
   > "value": "191990",
   > "transformRatio": "2.98%"
   > },
   > {
   > "name": "",
   > "value": "5730",
   > "transformRatio": "70.84%"
   > },
   > {
   > "name": "订单uv",
   > "value": "4059",
   > "transformRatio": "41.17%"
   > },
   > {
   > "name": "商品发布24小时之内成交的商品数",
   > "value": "1671",
   > "transformRatio": "0%"
   > }
   > ]
   > },
   > {
   > "name": "手机",
   > "type": "funnel",
   > "width": "45%",
   > "left": "50%",
   > "sort": "none",
   > "label": {
   > "position": "inside"
   > },
   > "data": [{
   > "name": "详情页uv",
   > "value": "602805",
   > "transformRatio": "98.37%"
   > },
   > {
   > "name": "yyy",
   > "value": "592960",
   > "transformRatio": "6.97%"
   > },
   > {
   > "name": "",
   > "value": "41351",
   > "transformRatio": "76.19%"
   > },
   > {
   > "name": "订单uv",
   > "value": "31506",
   > "transformRatio": "31.25%"
   > },
   > {
   > "name": "商品发布24小时之内成交的商品数",
   > "value": "9845",
   > "transformRatio": "0%"
   > }
   > ]
   > }
   > ],
   > "title": [{
   > "text": "其他分类",
   > "top": "bottom",
   > textAlign: 'center',
   > "textStyle": {
   > "fontFamily": "sans-serif",
   > "fontSize": "18"
   > },
   > "left": "22.5%"
   > },
   > {
   > "text": "手机",
   > "top": "bottom",
   > textAlign: 'center',
   > "textStyle": {
   > "fontFamily": "sans-serif",
   > "fontSize": "18"
   > },
   > "left": "72.5%"
   > }
   > ]
   > }
   > ```
   
   orz!!!cool!!!thank you!!!mogul



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] TemptationParadise commented on issue #13259: dynamic multiple titles auto fit in a multiple funnel chart?在一个多图漏斗图中,如何让多个title自适应展示?

2020-09-21 Thread GitBox


TemptationParadise commented on issue #13259:
URL: 
https://github.com/apache/incubator-echarts/issues/13259#issuecomment-695989010







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] TemptationParadise commented on issue #13259: dynamic multiple titles auto fit in a multiple funnel chart?在一个多图漏斗图中,如何让多个title自适应展示?

2020-09-21 Thread GitBox


TemptationParadise commented on issue #13259:
URL: 
https://github.com/apache/incubator-echarts/issues/13259#issuecomment-695989010


   > Try
   > 
[title.textAlign](https://echarts.apache.org/en/option.html#title.textAlign): 
center
   
   
   not work



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] TemptationParadise commented on issue #13259: dynamic multiple titles auto fit in a multiple funnel chart?在一个多图漏斗图中,如何让多个title自适应展示?

2020-09-21 Thread GitBox


TemptationParadise commented on issue #13259:
URL: 
https://github.com/apache/incubator-echarts/issues/13259#issuecomment-695989399


   
![image](https://user-images.githubusercontent.com/21994378/93748919-99a8ef00-fc2b-11ea-987a-79ea0260eab9.png)
   
   
   > Try
   > 
[title.textAlign](https://echarts.apache.org/en/option.html#title.textAlign): 
center
   
   not work



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org