Skip to content

Latest commit

 

History

History
101 lines (69 loc) · 3.67 KB

README.md

File metadata and controls

101 lines (69 loc) · 3.67 KB

Bingmap extension for Apache ECharts

This is an Bingmap extension for Apache ECharts

NPM version NPM Downloads jsDelivr Downloads

346051349-c99c6b1a-36fa-4f13-91f4-9a770a2668af

Installation

npm install echarts-extension-bingmaps --save

Import

Import packaged distribution file echarts-extension-bingmaps and add BingMap API script and ECharts script.

<script src="https://www.bing.com/api/maps/mapcontrol?key=${your-bingmapkey}&setlang=zh-cn"></script>
<!-- import ECharts -->
<script src="https://fastly.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<!-- import echarts-extension-bingmaps -->
<script src="https://fastly.jsdelivr.net/npm/echarts-extension-bingmaps/dist/echarts-extension-bingmaps.min.js"></script>

You can also import this extension by require or import if you are using webpack or any other bundler.

// use require
require('echarts');
require('echarts-extension-bingmaps');

// use import
import * as echarts from 'echarts';
import 'echarts-extension-bingmaps';

Examples

FlyChart

image

Heart Chart

image

Line Chart

image

Pie Chart

image

Scatter Chart

image

More Links

Contributing

Pull requests are welcomed. For major changes, please open an issue first to discuss what you would like to change.

Creators ✨


andybuibui

License

MIT