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 阅读(38) 评论(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) 编辑