apache / apache/echarts

[Bug] visualMap 只配置两个项无法正确渲染图表

Open
#21,222 2 comments 0 reactions 0 assignees View on GitHub
bug pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

6.0.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-sections

### Steps to Reproduce

1. 官方文档的例子,修改visualMap配置项如截图
2. 点击运行

### Current Behavior

Image

### Expected Behavior

正常渲染图表

### Environment

```markdown
- OS: windows 10
- Browser: chrome
- Framework: react@18
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.