# EchartsDemo1 **Repository Path**: HumanNature/echarts-demo1 ## Basic Information - **Project Name**: EchartsDemo1 - **Description**: 一个简单的Vue+Echarts的可视化地图项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-11 - **Last Updated**: 2022-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # echartsdemo ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). 第一次编写md文件,尝试一下 [链接跳转](https://gitee.com/HumanNature/echarts-demo1/blob/master/src/components/pieChart2.vue) >formatter: function (e) { > let str = > e[0].seriesName + > "
" + > '' + > e[0].axisValue + > " : " + > e[0].value; > return str; > }, 可以看到可以根据formatter的回调函数来获取echarts的详细信息,根据回调获取对应的数据