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 02:58:16 UTC

[GitHub] katherinebai opened a new issue #8962: 雷达图中的数据数组中第一项是“-”时显示错误

katherinebai opened a new issue #8962: 雷达图中的数据数组中第一项是“-”时显示错误
URL: https://github.com/apache/incubator-echarts/issues/8962
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   雷达图中的数据是 ["-", 5, 8, 1, 4],其中“-”处于第一位和中间位置时表现不一致,当“-”处于数组第一位时,tooltip消失后连线消失了。
   
   
   
   
   ### Version & Environment [版本及环境]
   + v4.1.0 [ECharts 版本]:
   + Chrome [浏览器类型和版本]:
   + Win8.1 [操作系统类型和版本]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   当雷达图中系列的数据是'-'时,相邻的两个点可以连线,而且当‘-’处于数组中的第一位时,将鼠标放置到某个点时tooltip消失后连线不消失。
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
   	"animation": false,
   	"backgroundColor": "rgba(255,255,255,1)",
   	"tooltip": {
   		"trigger": "item"
   	},
   	"title": null,
   	"legend": {
   		"show": true,
   		"left": "right",
   		"top": "center",
   		"orient": "vertical",
   		"align": "left",
   		"backgroundColor": "rgba(255,255,255,0)",
   		"borderColor": "rgba(255,255,255,0)",
   		"borderWidth": 1,
   		"textStyle": {
   			"color": "rgba(0,0,0,1)",
   			"fontFamily": "'MS PGothic'",
   			"fontSize": 14.67,
   			"fontStyle": "Normal",
   			"fontWeight": 400
   		},
   		"data": [{
   			"name": "整数",
   			"icon": "roundRect"
   		}],
   		"itemWidth": 14,
   		"itemGap": 12
   	},
   	"series": [{
   		"type": "radar",
   		"name": "整数",
   		"data": [{
   			"value": ["-", 5, 8, 1, 4]
   		}],
   		"label": {
   			"show": false,
   			"position": "outside",
   			"color": "rgba(0,0,0,1)",
   			"fontFamily": "'MS PGothic'",
   			"fontSize": 14.67,
   			"fontStyle": "Normal",
   			"fontWeight": 400
   		},
   		"itemStyle": {
   			"color": "rgba(79,129,189,1)"
   		},
   		"lineStyle": {
   			"color": "rgba(79,129,189,1)",
   			"width": 1,
   			"type": "solid"
   		},
   		"symbol": "diamond",
   		"symbolSize": 7
   	}],
   	"radar": {
   		"splitNumber": 9,
   		"indicator": [{
   			"name": "AronChen",
   			"max": 9,
   			"min": 0
   		}, {
   			"name": "Administrator",
   			"max": 9,
   			"min": 0
   		}, {
   			"name": "AngelaLi",
   			"max": 9,
   			"min": 0
   		}, {
   			"name": "AndrewLiang",
   			"max": 9,
   			"min": 0
   		}, {
   			"name": "AmandaDuan",
   			"max": 9,
   			"min": 0
   		}],
   		"name": {
   			"show": true,
   			"textStyle": {
   				"color": "rgba(0,0,0,1)",
   				"fontFamily": "'MS PGothic'",
   				"fontSize": 14.67,
   				"fontStyle": "Normal",
   				"fontWeight": 400
   			}
   		},
   		"axisLine": {
   			"show": true,
   			"lineStyle": {
   				"color": "rgba(0,0,0,1)",
   				"type": "solid",
   				"width": 1
   			}
   		},
   		"axisTick": {
   			"show": false,
   			"inside": false,
   			"length": 7,
   			"lineStyle": {
   				"color": "rgba(134,134,134,1)",
   				"width": 0.5
   			}
   		},
   		"splitLine": {
   			"show": true,
   			"lineStyle": {
   				"color": "rgba(134,134,134,1)",
   				"width": 0.5,
   				"type": "solid"
   			}
   		},
   		"splitArea": {
   			"show": true,
   			"areaStyle": {
   				"color": "rgba(255,255,255,1)"
   			}
   		},
   		"startAngle": 162,
   		"center": [204.5, 145],
   		"radius": 91.125
   	}
   }
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   ![image](https://user-images.githubusercontent.com/36399340/44698089-1f8bf780-aab1-11e8-849c-ee7f654ae7a9.png)
   
   

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