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 2022/07/05 02:18:24 UTC

[GitHub] [echarts] niyanan opened a new issue, #17316: [Bug] 柱形图Y轴设置了最小值开始后,series最小值的那根柱子label标签有时显示,有时不显示

niyanan opened a new issue, #17316:
URL: https://github.com/apache/echarts/issues/17316

   ### Version
   
   4.8.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   {
     "title": {
       "show": false,
       "text": "",
       "left": "center",
       "top": 0
     },
     "tooltip": {
       "show": true
     },
     "grid": {
       "containLabel": true,
       "top": "20%",
       "left": 0,
       "right": 0,
       "bottom": "15%"
     },
     "legend": {
       "show": true,
       "width": "auto",
       "x": "center",
       "y": "7%",
       "orient": "horizontal"
     },
     "xAxis": {
       "name": "",
       "nameTextStyle": {
         "color": "#000000",
         "padding": [
           20,
           0,
           0,
           0
         ]
       },
       "nameLocation": "center",
       "type": "category",
       "scale": true,
       "axisLabel": {
         "show": true,
         "rotate": 0,
         "color": "#333333",
         "fontWeight": "normal",
         "fontSize": 12,
         "width": 100,
         "overflow": "break",
         "onZero": false
       },
       "axisLine": {
         "lineStyle": {
           "color": "#999999"
         }
       },
       "position": "bottom",
       "data": [
         "吴越",
         "周正",
         "孙麻",
         "张三",
         "李四",
         "王五",
         "赵六",
         "郑东",
         "钱多"
       ]
     },
     "series": [
       {
         "barWidth": "auto",
         "numFormat": "1",
         "saveOriginalValue": true,
         "color": "#7b4dc4",
         "label": {
           "show": true,
           "position": "bottom",
           "form_potion": "top",
           "color": "#7b4dc4"
         },
         "type": "bar",
         "markLine": {
           "symbol": "none",
           "label": {
             "position": "insideEndTop"
           },
           "data": []
         },
         "name": "求和",
         "yAxisIndex": "0",
         "data": [
           "496",
           "553",
           "416",
           "454",
           "475",
           "463",
           "392",
           "611",
           "437"
         ]
       },
       {
         "barWidth": "auto",
         "numFormat": "1",
         "saveOriginalValue": true,
         "color": "#e770d3",
         "label": {
           "show": true,
           "position": "bottom",
           "form_potion": "top",
           "color": "#e770d3"
         },
         "type": "bar",
         "markLine": {
           "symbol": "none",
           "label": {
             "position": "insideEndTop"
           },
           "data": []
         },
         "name": "AVG( credit )",
         "yAxisIndex": "1",
         "data": [
           "48.1111",
           "53.3333",
           "43.3333",
           "50.5556",
           "49.3333",
           "62.2222",
           "52",
           "51",
           "57.6667"
         ]
       }
     ],
     "yAxis": [
       {
         "show": true,
         "type": "value",
         "name": "",
         "nameTextStyle": {
           "color": "#000000"
         },
         "min": 392,
         "inverse": true,
         "position": "left",
         "axisLabel": {
           "show": true,
           "formatter": "{value}",
           "fontSize": 12,
           "color": "#000000",
           "fontWeight": "normal",
           "lineStyle": {
             "color": "#91CC75"
           }
         },
         "axisLine": {
           "lineStyle": {
             "color": "#999999"
           }
         },
         "splitLine": {
           "lineStyle": {
             "type": "dashed",
             "color": "#cccccc",
             "width": 1
           }
         }
       },
       {
         "show": true,
         "type": "value",
         "name": "",
         "nameTextStyle": {
           "color": "#000000"
         },
         "min": 43.3333,
         "inverse": true,
         "position": "right",
         "axisLabel": {
           "show": true,
           "formatter": "{value}",
           "fontSize": 12,
           "color": "#000000",
           "fontWeight": "normal"
         },
         "axisLine": {
           "lineStyle": {
             "color": "#6e7079"
           }
         },
         "splitLine": {
           "lineStyle": {
             "type": "dashed",
             "color": "#cccccc",
             "width": 1
           }
         }
       }
     ]
   }
   
   ### Current Behavior
   
   在不同浏览器中series的label标签有时显示
   
   ### Expected Behavior
   
   要么都显示,要么都不显示
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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


[GitHub] [echarts] jiawulin001 commented on issue #17316: [Bug] 柱形图Y轴设置了最小值开始后,series最小值的那根柱子label标签有时显示,有时不显示

Posted by GitBox <gi...@apache.org>.
jiawulin001 commented on issue #17316:
URL: https://github.com/apache/echarts/issues/17316#issuecomment-1179472863

   Hi, I tested with V5.x and there seems to be no such problem. So I would suggest you use use the latest version of Echarts.


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17316: [Bug] 柱形图Y轴设置了最小值开始后,series最小值的那根柱子label标签有时显示,有时不显示

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

   @niyanan It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] After the bar chart Y axis is set to the minimum value, the column label label of the minimum value of the series is sometimes displayed, sometimes not displayed
   </details>


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