🌜
🌞
echarts-gl

echarts-gl

v2.0.9

Extension pack of ECharts providing 3D plots and globe visualization

npm install echarts-gl

README

ECHARTS-GL

ECharts-GL is an extension pack of Apache ECharts, which providing 3D plots, globe visualization and WebGL acceleration.

Docs

Installing

npm and webpack

npm install echarts
npm install echarts-gl

Import all

import * as echarts from 'echarts';
import 'echarts-gl';

Minimal Import

import * as echarts from 'echarts/core';
import { Scatter3DChart } from 'echarts-gl/charts';
import { Grid3DComponent } from 'echarts-gl/components';

echarts.use([Scatter3DChart, Grid3DComponent]);

Include by scripts

<script src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/echarts-gl/dist/echarts-gl.min.js"></script>

NOTE:

ECharts GL 2.x is compatible with ECharts 5.x. ECharts GL 1.x is compatible with ECharts 4.x.

Basic Usage

var chart = echarts.init(document.getElementById('main'));
chart.setOption({
    grid3D: {},
    xAxis3D: {},
    yAxis3D: {},
    zAxis3D: {},
    series: [{
        type: 'scatter3D',
        symbolSize: 50,
        data: [[-1, -1, -1], [0, 0, 0], [1, 1, 1]],
        itemStyle: {
            opacity: 1
        }
    }]
})

License

ECharts-GL is available under the BSD license.

Release Notes

2.0.4
By Yi Shen • Published on April 8, 2021
  • Fix maptalks3D and mapbox3D may throw error.
2.0.3
By Yi Shen • Published on April 7, 2021
  • Fix error thrown in getDataURL #392
2.0.2
By Yi Shen • Published on February 17, 2021

fix: Allow CORS image by default

2.0.1
By Yi Shen • Published on January 24, 2021

Fix surface is transparent bug. https://github.com/ecomfe/echarts-gl/issues/386

2.0.0
By Yi Shen • Published on January 16, 2021
  • v2.0.0 will be compatible with Apache ECharts 5.0
  • [feature] add globe.atmosphere
1.1.2
By Yi Shen • Published on December 22, 2020

Surface

  • [enhance] Enhance data shape guessing from the data array.
1.1.1
By Yi Shen • Published on May 3, 2018
  • Upgrade to latest ClayGL and ECharts
1.1.0
By Yi Shen • Published on February 28, 2018
  • Add maptalks3D component.

  • Upgrade to latest ClayGL and ECharts

1.0.2
By Yi Shen • Published on January 30, 2018

Bug fixes

1.0.1
By Yi Shen • Published on January 23, 2018

General

Typescript Types
None found
Tree-shakeable
Yes

Popularity

GitHub Stargazers
2,346
Community Interest
3,092
Number of Forks
831

Maintenance

Commits
10/219/2202
Last Commit
Mar 1, 2022
Open Issues
271
Closed Issues
166
Open Pull Requests
4
Closed Pull Requests
8

Versions

Versions Released
10/219/2201
Latest Version Released
Current Tags
latest2.0.9
rc2.0.0-rc.3

Contributors

pissang
pissang
Commits: 704
nwind
nwind
Commits: 5
kyriejoshua
kyriejoshua
Commits: 3
100pah
100pah
Commits: 2
fuzhenn
fuzhenn
Commits: 2
Justineo
Justineo
Commits: 2
zhou-duoduo
zhou-duoduo
Commits: 1
deyihu
deyihu
Commits: 1
kener
kener
Commits: 1
Ovilia
Ovilia
Commits: 1
chriswong
chriswong
Commits: 1