apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.63k stars 19.61k forks source link

scatter3D的visualMap取的数据维度问题 #9578

Closed Mying666 closed 3 years ago

Mying666 commented 5 years ago

General Questions

In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:

Issue Type

Issue Details

Expected Behavior

Current Behavior

Online Example

Topics

Anything Else We Need to Know

Environment

Mying666 commented 5 years ago

示例如下 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无效果,并没有取最后一个维度数据

stale[bot] commented 3 years ago

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.

github-actions[bot] commented 3 years ago

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!