Uncle_MrLee

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年1月25日

摘要: var xData = [ '幼儿:1-6周岁', '儿童:7-14周岁', '少年:13-18周岁', '青年:19-44周岁', '中年:45-59周岁', '老年:60周岁以上'];var lastYearData = [ 20, 86, 52, 10,12,45];var thisYearD 阅读全文
posted @ 2022-01-25 11:13 Uncle_MrLee 阅读(343) 评论(0) 推荐(0) 编辑

摘要: let yAxisData = [ "0~5岁", "6~10岁", "11 ~ 15岁", "16 ~ 20 岁", "21 ~ 25 岁", "26 ~ 30 岁", "31 ~ 35 岁", "36 ~ 40 岁", "41 ~ 45 岁", "46 ~ 50 岁", "51 ~ 55 岁", 阅读全文
posted @ 2022-01-25 11:10 Uncle_MrLee 阅读(176) 评论(0) 推荐(0) 编辑

摘要: option = { backgroundColor: "#000", title: { text: "人口来源分布", textAlign: "center", left: "5%", top: "5%", textStyle: { color: "#F1BB4C", fontSize: 14, 阅读全文
posted @ 2022-01-25 11:08 Uncle_MrLee 阅读(50) 评论(0) 推荐(0) 编辑

摘要: const manimage ='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAABGCAYAAACkPDbJAAADAklEQVRoge3aT4hVVRzA8c9cZypBHIgxkAJJUKZFQWEuSkQCtZ0bTcUWLgIh6I+ 阅读全文
posted @ 2022-01-25 11:07 Uncle_MrLee 阅读(538) 评论(0) 推荐(0) 编辑

摘要: var dataUitName1 = ["2000", "2005", "2010", "2015", "2020"]var departmentdata1_1 = [10, 20, 30, 40,34]var departmentdata2_1 = [5, 10, 15, 20,32]var de 阅读全文
posted @ 2022-01-25 10:59 Uncle_MrLee 阅读(145) 评论(0) 推荐(0) 编辑

摘要: option = { backgroundColor: '#1a4377', grid: { left: '10%', top: 60, right: '10%', bottom: 60, }, toolbox: { feature: { saveAsImage: {} } }, series: [ 阅读全文
posted @ 2022-01-25 10:58 Uncle_MrLee 阅读(343) 评论(0) 推荐(0) 编辑

摘要: option = { backgroundColor: '#000', tooltip: { formatter: "{b} : {c}%" }, series: [{ name: "", type: "gauge", startAngle: 180, endAngle: 0, center: [" 阅读全文
posted @ 2022-01-25 10:57 Uncle_MrLee 阅读(188) 评论(0) 推荐(0) 编辑

摘要: let value = 62;option = { title: { text: '', subtext: `${value}%`, textStyle: { color: '#fff', fontSize: 16 }, subtextStyle: { color: '#fff', fontSize 阅读全文
posted @ 2022-01-25 10:49 Uncle_MrLee 阅读(39) 评论(0) 推荐(0) 编辑

摘要: let dataval = { value: 50, name: "进度"};option = { title: { text: dataval.value + "%", x: "center", y: "center", textStyle: { fontWeight: "bold", fontS 阅读全文
posted @ 2022-01-25 10:48 Uncle_MrLee 阅读(53) 评论(0) 推荐(0) 编辑

摘要: var option = { grid: [ { // 这是控制上面的bar left: '6%', right: '3%', top: '5%', bottom: '12%', height: '35%', containLabel: false, }, { // 控制下面的line left: 阅读全文
posted @ 2022-01-25 10:47 Uncle_MrLee 阅读(380) 评论(0) 推荐(0) 编辑

摘要: //图表X轴数据 var Xdata = ["大洼街道", "田家街道", "榆树街道", "王家街道", "新兴镇", "东风镇", "新开镇", "新立镇", "清水镇", "唐家镇", "平安镇", "赵圈河镇", "于楼街道", "西安镇", "荣兴街道", "荣滨街道" 阅读全文
posted @ 2022-01-25 10:25 Uncle_MrLee 阅读(802) 评论(0) 推荐(0) 编辑

摘要: let uploadedData = { "features": [{ "geometry": { "coordinates": [ [ [ [ 122.150012, 41.098286 ], [ 122.151448, 41.090835 ], [ 122.149031, 41.085334 ] 阅读全文
posted @ 2022-01-25 10:23 Uncle_MrLee 阅读(276) 评论(0) 推荐(0) 编辑

摘要: let dataval = [0.47]; option = { series: [ { type: "liquidFill", data: dataval, direction: "right", //波浪方向或者静止 radius: "80%", // 水球颜色 color: ["#00c2ff 阅读全文
posted @ 2022-01-25 10:20 Uncle_MrLee 阅读(151) 评论(0) 推荐(0) 编辑

摘要: let { date, dataval} = { date: [], dataval: []} // 格式化时间function getTime() { var ts = arguments[0] || 0; var t, h, i, s; t = ts ? new Date(ts * 1000) 阅读全文
posted @ 2022-01-25 10:19 Uncle_MrLee 阅读(19) 评论(0) 推荐(0) 编辑

摘要: let geoCoordMap = { "海门": [121.15, 31.89], "鄂尔多斯": [109.781327, 39.608266], "招远": [120.38, 37.35], "舟山": [122.207216, 29.985295], "齐齐哈尔": [123.97, 47. 阅读全文
posted @ 2022-01-25 10:17 Uncle_MrLee 阅读(1095) 评论(0) 推荐(0) 编辑

摘要: var uploadedDataURL = "/asset/get/s/data-1528971808162-BkOXf61WX.json"; /**地图迁徙颜色自定义*/var color = ['#6bcc75', '#65c78b', '#5fc2a0', '#5abead', '#52b9c 阅读全文
posted @ 2022-01-25 10:11 Uncle_MrLee 阅读(1689) 评论(0) 推荐(0) 编辑

摘要: let angle = 0; //角度,用来做简单的动画效果的 let value = 12;option = { backgroundColor:'#000', title: { text: value + "%", x: "center", y: "center", textStyle: { f 阅读全文
posted @ 2022-01-25 10:10 Uncle_MrLee 阅读(471) 评论(0) 推荐(0) 编辑