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/01/22 09:48:14 UTC
[GitHub] [echarts] xuefeibai opened a new issue #16408: [Bug]echarts line symbol.pin render like symbol.circle
xuefeibai opened a new issue #16408:
URL: https://github.com/apache/echarts/issues/16408
### Version
5.0.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
数据标签的数据点形状异常,4.9.0以前是正常的,5.0.0以来都不正常,options如下:
var option = {
"chartex": {
"displayMode": "stack_area_line",
"outputDataDynamicCurrentPage": "CurrentPage"
},
"xAxis": {
"name": "区域",
"type": "category",
"filedName": "区域",
"data": ["华北",
"华东",
"西南",
"华南",
"东北",
"西北",
"华中"
],
"boundaryGap": false
},
"yAxis": {
"name": "运费",
"type": "value"
},
"legend": {
"left": "center",
"top": "bottom",
"orient": "horizontal",
"data": ["运费"]
},
"series": [{
"name": "运费",
"fieldFormat": {
"type": "DOUBLE",
"prefix": "",
"suffix": "",
"source": null,
"decimal": 2,
"forceDecimal": true,
"scale": 1,
"dateFormat": "",
"timeFormat": "",
"viewType": "TNUMBER"
},
"data": [{
"rowIndex": 0,
"value": [0,
19292.8
],
"displayValue": "19,292.80",
"rawRowIndex": 0
}, {
"rowIndex": 1,
"value": [1,
8110.81
],
"displayValue": "8,110.81",
"rawRowIndex": 1
}, {
"rowIndex": 2,
"value": [2,
3842.23
],
"displayValue": "3,842.23",
"rawRowIndex": 2
}, {
"rowIndex": 3,
"value": [3,
3772.89
],
"displayValue": "3,772.89",
"rawRowIndex": 3
}, {
"rowIndex": 4,
"value": [4,
3567.98
],
"displayValue": "3,567.98",
"rawRowIndex": 4
}, {
"rowIndex": 5,
"value": [5,
1291.29
],
"displayValue": "1,291.29",
"rawRowIndex": 5
}, {
"rowIndex": 6,
"value": [6,
78.26
],
"displayValue": "78.26",
"rawRowIndex": 6
}],
"type": "line",
"smooth": false,
"itemStyle": {
"normal": {
"color": "#330000",
"label": {
"show": false,
"position": "right",
"textStyle": {
"fontFamily": "宋体",
"fontSize": "14",
"fontWeight": "normal",
"color": "#ff0000"
},
"color": "#ff0000",
"textBorderColor": "",
"textBorderWidth": 0
}
}
},
"symbol": "pin",
"symbolSize": 10,
"symbolRotate": 90,
"connectNulls": true,
"stack": "default",
"columnNub": 0,
"maxLable": false,
"areaStyle": {
"normal": {}
}
}]
}
### Current Behavior

### 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
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 #16408: [Bug]echarts line symbol.pin render like symbol.circle
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16408:
URL: https://github.com/apache/echarts/issues/16408#issuecomment-1019138426
@xuefeibai 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>
**BODY**
### Version
5.0.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
The data point shape of the data label is abnormal. It was normal before 4.9.0, but not normal since 5.0.0. The options are as follows:
var option = {
"chartex": {
"displayMode": "stack_area_line",
"outputDataDynamicCurrentPage": "CurrentPage"
},
"xAxis": {
"name": "region",
"type": "category",
"filedName": "Region",
"data": ["North China",
"East China",
"southwest",
"South China",
"northeast",
"northwest",
"Central China"
],
"boundaryGap": false
},
"yAxis": {
"name": "Shipping",
"type": "value"
},
"legend": {
"left": "center",
"top": "bottom",
"orient": "horizontal",
"data": ["Shipping"]
},
"series": [{
"name": "Shipping",
"fieldFormat": {
"type": "DOUBLE",
"prefix": "",
"suffix": "",
"source": null,
"decimal": 2,
"forceDecimal": true,
"scale": 1,
"dateFormat": "",
"timeFormat": "",
"viewType": "TNUMBER"
},
"data": [{
"rowIndex": 0,
"value": [0,
19292.8
],
"displayValue": "19,292.80",
"rawRowIndex": 0
}, {
"rowIndex": 1,
"value": [1,
8110.81
],
"displayValue": "8,110.81",
"rawRowIndex": 1
}, {
"rowIndex": 2,
"value": [2,
3842.23
],
"displayValue": "3,842.23",
"rawRowIndex": 2
}, {
"rowIndex": 3,
"value": [3,
3772.89
],
"displayValue": "3,772.89",
"rawRowIndex": 3
}, {
"rowIndex": 4,
"value": [4,
3567.98
],
"displayValue": "3,567.98",
"rawRowIndex": 4
}, {
"rowIndex": 5,
"value": [5,
1291.29
],
"displayValue": "1,291.29",
"rawRowIndex": 5
}, {
"rowIndex": 6,
"value": [6,
78.26
],
"displayValue": "78.26",
"rawRowIndex": 6
}],
"type": "line",
"smooth": false,
"itemStyle": {
"normal": {
"color": "#330000",
"label": {
"show": false,
"position": "right",
"textStyle": {
"fontFamily": "Song Font",
"fontSize": "14",
"fontWeight": "normal",
"color": "#ff0000"
},
"color": "#ff0000",
"textBorderColor": "",
"textBorderWidth": 0
}
}
},
"symbol": "pin",
"symbolSize": 10,
"symbolRotate": 90,
"connectNulls": true,
"stack": "default",
"columnNub": 0,
"maxLable": false,
"areaStyle": {
"normal": {}
}
}]
}
### Current Behavior

### Expected Behavior

### Environment
````markdown
- OS:
- Browser:
- Framework:
````
### Any additional comments?
_No response_
</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
[GitHub] [echarts] pissang commented on issue #16408: [Bug]echarts line symbol.pin render like symbol.circle
Posted by GitBox <gi...@apache.org>.
pissang commented on issue #16408:
URL: https://github.com/apache/echarts/issues/16408#issuecomment-1019226977
可以设置 https://echarts.apache.org/zh/option.html#legend.symbolRotate 为 0
--
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