项目
在 GitHub 查看
ecomfe/echarts-gl
ecomfe/echarts-gl has 2,713 GitHub stars and 843 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and +2 in 15 days. Last checked 2026-11-23 13:54 UTC. Last push 2026-11-07.
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Apache ECharts 的扩展包,提供地球可视化和 3D 图表。
创作与媒体README.md
原文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.
Notice
The Apache Software Foundation Apache ECharts, ECharts, Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the Apache Software Foundation.
探索相关项目
加载中…