-
Notifications
You must be signed in to change notification settings - Fork 19.8k
How can I remove style change on out of range map serie #9920
Copy link
Copy link
Closed
Labels
new-featurestaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: map
Description
General Questions
- Required: I have read the document and examples and tried to solve it by myself. (必填)我读过了文档和教程,并且曾试图自己解决问题。
- Required: I have searched for similar issues and that didn't help. (必填)我搜索过 issue 但是没有帮助。
- Required: I have tried with the latest version of ECharts and still have this problem. (必填)我试过最新版本的 ECharts,还是存在这个问题。
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
- Required: issue type;(必填)issue 类型
- Required: one sentence description in issue details;(必填)一句话的问题描述
- Required: demo;(必填)能反映问题的例子(如果你想提问或报 bug)
- Required: ECharts version;ECharts 版本
Issue Type
- I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
- I have a bug to report;我想要报 bug
- I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
- I have a feature to enhance, e.g.: The current feature should be improved in the way that ...;我希望改进某个功能
- There's something wrong with the documents;文档有些问题
- Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型
Issue Details
When my map series data are in range I would like to keep original behavior so item lightness is increased but for out of range data I would like to remove the animation and set specific color for out of range data
I tried:
visualMap: { calculable: true, inRange: { color: ['#DAE2EE', '#0288D1'], }, outOfRange: { color: '#00AA00', } },
but color changes.
Also I found out that if outOfRange.color is red, green or blue animation is disabled.
Expected Behavior
There is no animation on out of range data
Current Behavior
Brightness changes when mouse over out of range data
Topics
- Legend
- Tooltip
- Event
- Performance
- SVG
- Map
- ECharts GL
- Third-party libraries, e.g.: Vue.js, React
Environment
- ECharts version;4.2.0-rc.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
new-featurestaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: map