# ol3Echarts **Repository Path**: mirrors_SuperMap/ol3Echarts ## Basic Information - **Project Name**: ol3Echarts - **Description**: :earth_asia: :bar_chart: ol3Echarts | a openlayers extension to echarts - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2025-10-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ol3Echarts > 基于openlayers3+新版扩展的echarts3的图表插件,暂时支持echarts的所有map组件类型,对普通不支持坐标系的图表正在兼容(饼图,柱状图,折线图已兼容) [](https://www.travis-ci.org/sakitam-fdd/ol3Echarts) [](https://codecov.io/gh/sakitam-fdd/ol3Echarts) [](https://npmjs.org/package/ol3-echarts) [](https://www.jsdelivr.com/package/npm/ol3-echarts)  [](https://www.npmjs.org/package/ol3-echarts) [](https://github.com/sakitam-fdd/ol3Echarts/stargazers) [](https://raw.githubusercontent.com/sakitam-fdd/ol3Echarts/master/LICENSE) ## 下载 ```bash git clone https://github.com/sakitam-fdd/ol3Echarts.git npm install npm run dev npm run build npm run karma.test npm run karma.cover ``` ### 安装 #### npm安装 ```bash npm install ol3-echarts --save import ol3Echarts from 'ol3-echarts' ``` #### cdn 目前可通过 [unpkg.com](https://unpkg.com/ol3-echarts/dist/ol3Echarts.js) / [jsdelivr](https://cdn.jsdelivr.net/npm/ol3-echarts/dist/ol3Echarts.js) 获取最新版本的资源。 ```bash // jsdelivr (jsdelivr由于缓存原因最好锁定版本号) https://cdn.jsdelivr.net/npm/ol3-echarts@1.3.4/dist/ol3Echarts.js https://cdn.jsdelivr.net/npm/ol3-echarts@1.3.4/dist/ol3Echarts.min.js // npm https://unpkg.com/ol3-echarts/dist/ol3Echarts.js https://unpkg.com/ol3-echarts/dist/ol3Echarts.min.js ``` #### [示例](//sakitam-fdd.github.io/ol3Echarts/) #### [文档](//sakitam-fdd.github.io/ol3Echarts/docs/) ##### openlayers ``` javascript
``` ##### hmap-js ``` javascript ``` ## 截图示例  [](https://app.fossa.io/projects/git%2Bgithub.com%2Fsakitam-fdd%2Fol3Echarts?ref=badge_shield)   其他示例请自己挖掘 ## 致谢 > [echarts](https://github.com/ecomfe/echarts) > [openlayers](https://github.com/openlayers/openlayers) ## License [](https://app.fossa.io/projects/git%2Bgithub.com%2Fsakitam-fdd%2Fol3Echarts?ref=badge_large)