echarts icon indicating copy to clipboard operation
echarts copied to clipboard

scatter3D的visualMap取的数据维度问题

Open Mying666 opened this issue 7 years ago • 3 comments

  • [ ] I am using English in this issue. 在这个 Issue 中我使用了英文(强烈建议)。

General Questions

  • [x] Required: I have read the document and examples and tried to solve it by myself. (必填)我读过了文档和教程,并且曾试图自己解决问题。
  • [x] Required: I have searched for similar issues and that didn't help. (必填)我搜索过 issue 但是没有帮助。
  • [x] 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;(必填)一句话的问题描述
  • [x] Required: demo;(必填)能反映问题的例子(如果你想提问或报 bug)
  • [ ] Required: ECharts version;ECharts 版本

Issue Type

  • [ ] I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
  • [x] I have a bug to report;我想要报 bug
  • [x] I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
  • [x] 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

Expected Behavior

Current Behavior

Online Example

Topics

  • [ ] Legend
  • [ ] Tooltip
  • [ ] Event
  • [ ] Performance
  • [ ] SVG
  • [ ] Map
  • [x ] ECharts GL
  • [ ] Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

Environment

  • ECharts version;ECharts 版本: {DESCRIBE_HERE}

  • [ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

Mying666 avatar Dec 13 '18 07:12 Mying666

示例如下 http://gallery.echartsjs.com/editor.html?c=xIuMf_y4sj&v=2 http://gallery.echartsjs.com/editor.html?c=xIuMf_y4sj&v=3 想要效果为V3,散点高度为0,在地球表面。通过visualMap区分点颜色及大小。

http://echarts.baidu.com/option.html#visualMap-continuous.dimension官方文档上说visualMap里的dimension可以选择指定维度数据,以下为原文 其中每个列是一个维度,即 dimension。 例如 dimension 为 1 时,取第二列(即 23,23,545,23),映射到视觉元素上。

默认取 data 中最后一个维度。

在data中数据[经度,纬度,0,value]

在这样定义数据的时候,visualMap无效果,并没有取最后一个维度数据

Mying666 avatar Dec 13 '18 08:12 Mying666

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 19 '20 08:12 stale[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Sep 05 '21 21:09 github-actions[bot]