Skip to content

Echart-GL example global wind visualization 示例下载后无法工作 #15130

@huaweiping

Description

@huaweiping

Version

5.1.2

Steps to reproduce

  1. 下载 global wind visualization: https://echarts.apache.org/86440d6b-dc71-4da5-ab4f-38101e6125a1

  2. 在中添加必要js文件,
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <script src="./echarts-gl.min.js" type="text/javascript"></script>
    以及变量
    var ROOT_PATH = 'https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/examples';

What is expected?

如example所示

What is actually happening?

报错:
echarts-gl.min.js:1 Uncaught TypeError: Cannot read property 'dimensions' of undefined
at n._updateData (echarts-gl.min.js:1)
at n.render (echarts-gl.min.js:1)
at t.progress (echarts.min.js:45)
at t._doProgress (echarts.min.js:45)
at t.perform (echarts.min.js:45)
at echarts.min.js:45
at e. (echarts.min.js:45)
at Array.forEach ()
at P (echarts.min.js:35)
at e.eachSeries (echarts.min.js:45)


尝试添加china.js作为地图文件,仍然失败

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions