-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed
Description
Version
5.2.1
Link to Minimal Reproduction
No response
Steps to Reproduce
- 坐标轴的最大值是100,有的数据点的值正好是100
- 偶尔调整窗口大小之后,或者在特定窗口大小的情况下会消失
option = option = {
xAxis: {
type: 'value',
scale: true,
splitLine: { show: false },
nameLocation: 'middle',
nameGap: 25,
axisLine: { onZero: false },
name: '百分比',
axisLabel: { formatter: '{value}%', rotate: 0 },
max: 100,
min: 80
},
yAxis: {
scale: true,
splitLine: { show: false },
nameGap: 10,
axisLine: { onZero: false },
name: '测试y轴',
axisLabel: { rotate: 0 }
},
legend: { right: '10%', width: '80%', top: 5, type: 'scroll' },
series: [
{
name: '有有有',
type: 'scatter',
data: [
[80.53, 6.66, 570, '有有有', '测试节点666666'],
[100, 8.08, 14, '有有有', '测试节点333【测试用】'],
[77.78, 9.01, 72, '有有有', '测试节点888【测试用】'],
[83.6, 17.67, 189, '有有有', '测试节点555'],
[94.87, 2.23, 156, '有有有', '测试节点444'],
[100, 8.16, 7, '有有有', '测试节点222【测试用】'],
[100, 6.54, 81, '有有有', '测试节点111【测试用】']
],
label: { show: true, position: 'inside', formatter: '{@[4]}' },
},
{
name: '无无无',
type: 'scatter',
data: [
[89.8, 7.1, 98, '无无无', '999'],
[0, 3.33, 170, '无无无', '测试']
],
label: { show: true, position: 'inside', formatter: '{@[4]}' }
}
],
visualMap: {
show: false,
dimension: 2,
outOfRange: { symbolSize: 10, color: ['rgb(217,217,217)'] },
inRange: { symbolSize: [10, 30] },
min: 7,
max: 570
},
grid: { top: 70, left: '10%', right: '10%', bottom: 70 }
};
Current Behavior
Expected Behavior
Environment
- OS: windows
- Browser: chrome 100
- Framework: vue2
Any additional comments?
No response