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 2020/10/28 07:07:26 UTC

[GitHub] [incubator-echarts] zhangmengyi opened a new issue #13498: y 轴坐标lable溢出

zhangmengyi opened a new issue #13498:
URL: https://github.com/apache/incubator-echarts/issues/13498


   option = {
       "color":[
           "#1E5273",
           "#3BA16F",
           "#F9C12B",
           "#F87A0B",
           "#36AFC2",
           "#84D7DE",
           "#C7547D",
           "#EF86A8",
           "#9DA6EC",
           "#6E6CBD",
           "#B3C469",
           "#8BA310"
       ],
       
       "axisPointer":[
           {
               "show":"auto",
               "triggerOn":null,
               "zlevel":0,
               "z":50,
               "type":"line",
               "snap":false,
               "triggerTooltip":true,
               "value":null,
               "status":null,
               "link":[
   
               ],
               "animation":null,
               "animationDurationUpdate":200,
               "lineStyle":{
                   "color":"#aaa",
                   "width":1,
                   "type":"solid"
               },
               "shadowStyle":{
                   "color":"rgba(150,150,150,0.3)"
               },
               "label":{
                   "show":true,
                   "formatter":null,
                   "precision":"auto",
                   "margin":3,
                   "color":"#fff",
                   "padding":[
                       5,
                       7,
                       5,
                       7
                   ],
                   "backgroundColor":"auto",
                   "borderColor":null,
                   "borderWidth":0,
                   "shadowBlur":3,
                   "shadowColor":"#aaa"
               },
               "handle":{
                   "show":false,
                   "icon":"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",
                   "size":45,
                   "margin":50,
                   "color":"#333",
                   "shadowBlur":3,
                   "shadowColor":"#aaa",
                   "shadowOffsetX":0,
                   "shadowOffsetY":2,
                   "throttle":40
               }
           }
       ],
       "tooltip":[
           {
               "trigger":"axis",
               "borderWidth":1,
               "borderColor":"#CCCCCC",
               "axisPointer":{
                   "type":"shadow",
                   "shadowStyle":{
                       "color":"#D9D9D9",
                       "opacity":0.3
                   },
                   "lineStyle":{
                       "color":"#CCCCCC"
                   },
                   "axis":"auto",
                   "animation":"auto",
                   "animationDurationUpdate":200,
                   "animationEasingUpdate":"exponentialOut",
                   "crossStyle":{
                       "color":"#999",
                       "width":1,
                       "type":"dashed",
                       "textStyle":{
   
                       }
                   }
               },
               "backgroundColor":"#ffffff",
               "textStyle":{
                   "color":"#7e7e7e",
                   "fontSize":14
               },
               "zlevel":0,
               "z":60,
               "show":true,
               "showContent":true,
               "triggerOn":"mousemove|click",
               "alwaysShowContent":false,
               "displayMode":"single",
               "renderMode":"auto",
               "confine":false,
               "showDelay":0,
               "hideDelay":100,
               "transitionDuration":0.4,
               "enterable":false,
               "borderRadius":4,
               "padding":5,
               "extraCssText":""
           }
       ],
       "singleAxis":[
   
       ],
       "parallelAxis":[
   
       ],
       "parallel":[
   
       ],
       "baseParallelAxis":[
   
       ],
       "radar":[
   
       ],
       "yAxis":[
           {
               "nameLocation":"middle",
               "nameGap":30,
               "nameTextStyle":{
                   "color":"#7F7F7F",
                   "align":"center",
                   "fontSize":12,
                   "lineHeight":14
               },
               "axisLine":{
                   "show":false,
                   "lineStyle":{
                       "color":"#A6A6A6",
                       "width":1,
                       "type":"solid"
                   },
                   "onZero":true,
                   "onZeroAxisIndex":null,
                   "symbol":[
                       "none",
                       "none"
                   ],
                   "symbolSize":[
                       10,
                       15
                   ]
               },
               "axisTick":{
                   "show":false,
                   "lineStyle":{
                       "color":"#A6A6A6",
                       "width":1
                   },
                   "inside":false,
                   "length":5
               },
               "axisLabel":{
                   "show":true,
                   "fontSize":12,
                   "lineHeight":16,
                   "align":"center",
                   "color":"#595959",
                   "lineStyle":{
                       "color":"#595959"
                   },
                   "inside":false,
                   "rotate":0,
                   "showMinLabel":null,
                   "showMaxLabel":null,
                   "margin":8
               },
               "splitLine":{
                   "show":true,
                   "lineStyle":{
                       "color":"#EAEAEA",
                       "width":1,
                       "type":"solid"
                   }
               },
               "splitArea":{
                   "show":false,
                   "lineStyle":{
                       "color":"#EAEAEA"
                   },
                   "areaStyle":{
                       "color":[
                           "rgba(250,250,250,0.3)",
                           "rgba(200,200,200,0.3)"
                       ]
                   }
               },
               "boundaryGap":[
                   0,
                   0
               ],
               "splitNumber":5,
               "minorTick":{
                   "show":false,
                   "splitNumber":5,
                   "length":3,
                   "lineStyle":{
   
                   }
               },
               "minorSplitLine":{
                   "show":false,
                   "lineStyle":{
                       "color":"#eee",
                       "width":1
                   }
               },
               "show":true,
               "zlevel":0,
               "z":0,
               "inverse":false,
               "name":"",
               "nameRotate":null,
               "nameTruncate":{
                   "maxWidth":null,
                   "ellipsis":"...",
                   "placeholder":"."
               },
               "silent":false,
               "triggerEvent":false,
               "tooltip":{
                   "show":false
               },
               "axisPointer":{
   
               },
               "offset":0,
               "type":"value",
               "rangeEnd":null,
               "rangeStart":null
           }
       ],
       "xAxis":[
           {
               "data":[
                   "1111Matcha Latte",
                   "2222Milk Tea",
                   "333Cheese Cocoa",
                   "444Walnut Brownie"
               ],
               "nameLocation":"middle",
               "nameGap":16,
               "nameTextStyle":{
                   "color":"#7F7F7F",
                   "align":"center",
                   "padding":8,
                   "fontSize":12,
                   "lineHeight":14
               },
               "axisLine":{
                   "show":true,
                   "lineStyle":{
                       "color":"#A6A6A6",
                       "width":1,
                       "type":"solid"
                   },
                   "onZero":true,
                   "onZeroAxisIndex":null,
                   "symbol":[
                       "none",
                       "none"
                   ],
                   "symbolSize":[
                       10,
                       15
                   ]
               },
               "axisTick":{
                   "show":false,
                   "length":4,
                   "lineStyle":{
                       "color":"#A6A6A6",
                       "width":1
                   },
                   "alignWithLabel":false,
                   "interval":"auto",
                   "inside":false
               },
               "axisLabel":{
                   "show":true,
                   "fontSize":12,
                   "lineHeight":16,
                   "align":"center",
                   "interval":0,
                   "color":"#595959",
                   "lineStyle":{
                       "color":"#595959"
                   },
                   "inside":false,
                   "rotate":0,
                   "showMinLabel":null,
                   "showMaxLabel":null,
                   "margin":8
               },
               "splitLine":{
                   "show":false,
                   "lineStyle":{
                       "color":"#EAEAEA",
                       "width":1,
                       "type":"solid"
                   }
               },
               "splitArea":{
                   "show":false,
                   "lineStyle":{
                       "color":"#EAEAEA"
                   },
                   "areaStyle":{
                       "color":[
                           "rgba(250,250,250,0.3)",
                           "rgba(200,200,200,0.3)"
                       ]
                   }
               },
               "boundaryGap":true,
               "deduplication":null,
               "show":true,
               "zlevel":0,
               "z":0,
               "inverse":false,
               "name":"",
               "nameRotate":null,
               "nameTruncate":{
                   "maxWidth":null,
                   "ellipsis":"...",
                   "placeholder":"."
               },
               "silent":false,
               "triggerEvent":false,
               "tooltip":{
                   "show":false
               },
               "axisPointer":{
                   "status":"hide",
                   "value":3
               },
               "offset":0,
               "type":"category",
               "rangeEnd":null,
               "rangeStart":null
           }
       ],
       "grid":[
           {
               "top":"4%",
               "bottom":"4%",
               "left":"0%",
               "right":"4%",
               "containLabel":true,
               "show":false,
               "zlevel":0,
               "z":0,
               "backgroundColor":"rgba(0,0,0,0)",
               "borderWidth":1,
               "borderColor":"#ccc"
           }
       ],
       "series":[
           {
               "type":"line",
               "name":"2015",
               "data":[
                   {
                       "name":"1111Matcha Latte",
                       "value":20000.4
                   },
                   {
                       "name":"2222Milk Tea",
                       "value":20000.4
                   },
                   {
                       "name":"333Cheese Cocoa",
                       "value":20000.4
                   },
                   {
                       "name":"444Walnut Brownie",
                       "value":720000.4
                   }
               ],
               "emphasis":{
                   "itemStyle":{
                       "borderWidth":1.5
                   },
                   "label":{
   
                   }
               },
               "showSymbol":false,
               "lineStyle":{
                   "width":2,
                   "type":"solid"
               },
               "zlevel":0,
               "z":2,
               "coordinateSystem":"cartesian2d",
               "legendHoverLink":true,
               "hoverAnimation":true,
               "clip":true,
               "label":{
                   "position":"top"
               },
               "step":false,
               "smooth":false,
               "smoothMonotone":null,
               "symbol":"emptyCircle",
               "symbolSize":4,
               "symbolRotate":null,
               "showAllSymbol":"auto",
               "connectNulls":false,
               "sampling":"none",
               "animationEasing":"linear",
               "progressive":0,
               "hoverLayerThreshold":null
           },
           {
               "type":"line",
               "name":"2016",
               "data":[
                   {
                       "name":"1111Matcha Latte",
                       "value":85.8
                   },
                   {
                       "name":"2222Milk Tea",
                       "value":73.4
                   },
                   {
                       "name":"333Cheese Cocoa",
                       "value":65.2
                   },
                   {
                       "name":"444Walnut Brownie",
                       "value":53.9
                   }
               ],
               "emphasis":{
                   "itemStyle":{
                       "borderWidth":1.5
                   },
                   "label":{
   
                   }
               },
               "showSymbol":false,
               "lineStyle":{
                   "width":2,
                   "type":"solid"
               },
               "zlevel":0,
               "z":2,
               "coordinateSystem":"cartesian2d",
               "legendHoverLink":true,
               "hoverAnimation":true,
               "clip":true,
               "label":{
                   "position":"top"
               },
               "step":false,
               "smooth":false,
               "smoothMonotone":null,
               "symbol":"emptyCircle",
               "symbolSize":4,
               "symbolRotate":null,
               "showAllSymbol":"auto",
               "connectNulls":false,
               "sampling":"none",
               "animationEasing":"linear",
               "progressive":0,
               "hoverLayerThreshold":null
           },
           {
               "type":"line",
               "name":"2017",
               "data":[
                   {
                       "name":"1111Matcha Latte",
                       "value":93.7
                   },
                   {
                       "name":"2222Milk Tea",
                       "value":55.1
                   },
                   {
                       "name":"333Cheese Cocoa",
                       "value":82.5
                   },
                   {
                       "name":"444Walnut Brownie",
                       "value":39.1
                   }
               ],
               "emphasis":{
                   "itemStyle":{
                       "borderWidth":1.5
                   },
                   "label":{
   
                   }
               },
               "showSymbol":false,
               "lineStyle":{
                   "width":2,
                   "type":"solid"
               },
               "zlevel":0,
               "z":2,
               "coordinateSystem":"cartesian2d",
               "legendHoverLink":true,
               "hoverAnimation":true,
               "clip":true,
               "label":{
                   "position":"top"
               },
               "step":false,
               "smooth":false,
               "smoothMonotone":null,
               "symbol":"emptyCircle",
               "symbolSize":4,
               "symbolRotate":null,
               "showAllSymbol":"auto",
               "connectNulls":false,
               "sampling":"none",
               "animationEasing":"linear",
               "progressive":0,
               "hoverLayerThreshold":null
           }
       ],
       "visualMap":[
   
       ],
       "legend":[
           {
               "type":"scroll",
               "icon":"rect",
               "pageIconColor":"#7F7F7F",
               "pageIconInactiveColor":"#CCCCCC",
               "pageIconSize":[
                   8,
                   5
               ],
               "pageTextStyle":{
                   "color":"#7F7F7F",
                   "fontSize":12,
                   "lineHeight":16
               },
               "width":"80%",
               "itemGap":12,
               "padding":[
                   15,
                   0,
                   0,
                   0
               ],
               "top":"auto",
               "left":"center",
               "right":"center",
               "bottom":0,
               "zlevel":0,
               "z":4,
               "show":true,
               "orient":"horizontal",
               "align":"auto",
               "backgroundColor":"rgba(0,0,0,0)",
               "borderColor":"#ccc",
               "borderRadius":0,
               "borderWidth":0,
               "itemWidth":25,
               "itemHeight":14,
               "inactiveColor":"#ccc",
               "inactiveBorderColor":"#ccc",
               "itemStyle":{
                   "borderWidth":0
               },
               "textStyle":{
                   "color":"#333"
               },
               "selectedMode":true,
               "selector":false,
               "selectorLabel":{
                   "show":true,
                   "borderRadius":10,
                   "padding":[
                       3,
                       5,
                       3,
                       5
                   ],
                   "fontSize":12,
                   "fontFamily":" sans-serif",
                   "color":"#666",
                   "borderWidth":1,
                   "borderColor":"#666"
               },
               "emphasis":{
                   "selectorLabel":{
                       "show":true,
                       "color":"#eee",
                       "backgroundColor":"#666"
                   }
               },
               "selectorPosition":"auto",
               "selectorItemGap":7,
               "selectorButtonGap":10,
               "tooltip":{
                   "show":false
               },
               "selected":{
   
               }
           }
       ],
       "markArea":[
           {
               "zlevel":0,
               "z":1,
               "tooltip":{
                   "trigger":"item"
               },
               "animation":false,
               "label":{
                   "show":true,
                   "position":"top"
               },
               "itemStyle":{
                   "borderWidth":0
               },
               "emphasis":{
                   "label":{
                       "show":true,
                       "position":"top"
                   }
               }
           }
       ],
       "markLine":[
           {
               "zlevel":0,
               "z":5,
               "symbol":[
                   "circle",
                   "arrow"
               ],
               "symbolSize":[
                   8,
                   16
               ],
               "precision":2,
               "tooltip":{
                   "trigger":"item"
               },
               "label":{
                   "show":true,
                   "position":"end",
                   "distance":5
               },
               "lineStyle":{
                   "type":"dashed"
               },
               "emphasis":{
                   "label":{
                       "show":true
                   },
                   "lineStyle":{
                       "width":3
                   }
               },
               "animationEasing":"linear"
           }
       ],
       "markPoint":[
           {
               "zlevel":0,
               "z":5,
               "symbol":"pin",
               "symbolSize":50,
               "tooltip":{
                   "trigger":"item"
               },
               "label":{
                   "show":true,
                   "position":"inside"
               },
               "itemStyle":{
                   "borderWidth":2
               },
               "emphasis":{
                   "label":{
                       "show":true
                   }
               }
           }
       ],
       "marker":[
   
       ],
       "brush":[
   
       ],
       "dataZoom":[
   
       ],
       "cartesian2dAxis":[
   
       ]
   }
   


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



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


[GitHub] [incubator-echarts] echarts-bot[bot] closed issue #13498: y 轴坐标lable溢出

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #13498:
URL: https://github.com/apache/incubator-echarts/issues/13498


   


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



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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13498: y 轴坐标lable溢出

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13498:
URL: https://github.com/apache/incubator-echarts/issues/13498#issuecomment-717745096


   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,请使用 issue 模板重新创建 issue。
   
   如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 issue。


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



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