12 2020 档案

摘要:const highLight = require(""); type: "scatter", roam: false, symbol: "image://" + highLight, symbolSize: 22, coordinateSystem: "geo", data: convertDat 阅读全文 »
posted @ 2020-12-17 17:49 玛卡巴鉲 阅读(437) 评论(0) 推荐(0) 编辑
摘要:设置前使用循环全部置为false,如下: let dataList = [ { name: "南海诸岛", value: 0, itemStyle: { opacity: 0 }, label: { show: false } }, { name: "北京", value: 0 }, { name: 阅读全文 »
posted @ 2020-12-17 17:42 玛卡巴鉲 阅读(849) 评论(0) 推荐(0) 编辑
摘要:1. 下载bigemap(我使用的是离线版),该软件可以选择到县级以及更下面的地方,然后导出kml文件。 2. 到geojson.io这个网址,依次将你的kml文件拖到里面(直接拖进去就可以)。 3. 点击下图导出即可,然后你将里面的数据保存到一个json文件就可以使用了。 echarts.regi 阅读全文 »
posted @ 2020-12-09 15:58 玛卡巴鉲 阅读(799) 评论(0) 推荐(0) 编辑
摘要:export const dfOption = { tooltip: { formatter: function(params, ticket, callback) { return params.name + ":" + params.value; } // 数据格式化 }, visualMap: 阅读全文 »
posted @ 2020-12-09 15:49 玛卡巴鉲 阅读(1903) 评论(0) 推荐(0) 编辑
摘要:itemStyle: { color: new echarts.graphic.LinearGradient( 0, 0, 0, 1, [ { offset: 0, color: "#ffd077" }, { offset: 0.3, color: "#fcbe49" }, { offset: 0. 阅读全文 »
posted @ 2020-12-09 15:47 玛卡巴鉲 阅读(111) 评论(0) 推荐(0) 编辑
摘要:tooltip: { trigger: "item", formatter: "{b}: {c}%", position: function (point, params, dom, rect, size) { // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y 阅读全文 »
posted @ 2020-12-09 15:45 玛卡巴鉲 阅读(1234) 评论(0) 推荐(0) 编辑
摘要:1.https://libraries.io/ 2.https://registry.npm.taobao.org/ 这个地址后面直接加你要下载的包名,进去之后找到下面的地址,要对应你需要的版本,复制到浏览器地址,回车完事 记录进步 阅读全文 »
posted @ 2020-12-04 10:04 玛卡巴鉲 阅读(608) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示