echarts-gl
Extension pack of ECharts providing 3D plots and globe visualization
Last updated 4 years ago by lang .
Repository · Bugs · Original npm
$ cnpm install echarts-gl 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.0.9                                ...           latest (3 years ago)

7 Versions

  • 2.0.9                                ...           3 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.0-rc.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           7 years ago
  • 1.0.0-beta.6                                ...           8 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org