From df5b4c531fe5bf056058f8b726f5308f64d67f58 Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Thu, 11 Sep 2025 14:44:51 +0800 Subject: [PATCH] 'commit' --- .../RuYuanZaiYuanCountModel.cpython-312.pyc | Bin 6244 -> 6251 bytes static/js/data/index.js | 20 ++++-------------- static/js/index.js | 4 ++++ 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Model/__pycache__/RuYuanZaiYuanCountModel.cpython-312.pyc b/Model/__pycache__/RuYuanZaiYuanCountModel.cpython-312.pyc index 3334db404299bbfdd7433e34dbb7d3f9ce9660f6..362aeeb702090d3a3c89cb60daacec53fa93e7a4 100644 GIT binary patch delta 524 zcmYL_y-&hG7{&!GAXo|}eqfA74GD!xFoq~%{1!Dj37RMxQfPt3@{zZgU>7%cbF+@R zxTu?piL3v?%`U{r(an2{AJ^n}ch7V0+vn~*{t@Tjc;3^+##i;V^76p1IlZ3NN=q~H zirkdRfpf=2IZGh7&S(4RUxOE5h8~; zCXYgB_`ic&W|6a6@f1$bUMHVIu&<0u`!7U0%##uSnAd96iAvJ`@yG@{VY()h)5YR! z0@9sbNiNPM=4iLhLbV-Cv&yghv5UWQ>N&@U+O8>Tt8;6NO`XPhwNTfor!!|XQw0qT zw_0sfWJ5Ek&4jI=-;|PSQf*^M${BTCQ$z>gvq24ErNnErIR?`{6EewSfVbtzZeWTR znMOG)1i;f};GXkGvFaKTMo46JFlUp<&0wovLScY`x)-W-;f_Ry65Z&017?nc A?EnA( delta 546 zcmYL`zfRjw6vmsxcK(2IGC&GQRHCv}V?YV5iGon7Dinn1Qc@%!fN(0l-i4i^r)b6gh>8_k%TH99d7yH z5ZJUGdKSc~1xt^mxpGN26zDg8j={4uBwjxq&#?V`L0b`i(WP2$w<{KWWas$_k@6}( zzxM3pxgIWa{lp>BU>TTCEUf3Xe3$12?*@$tbWq3;uiLQ$8t_C6YfLRnnm8qRi2f*; z;!zfelW+AnRkn0P;*v{_LO5WJ!kmh~jLZGDaC&=L_#x+K(0z?~gD}~8v6(R0w_-GE XVqr{xXO=zRIde%3zO#jwmW0X^gG-Ad diff --git a/static/js/data/index.js b/static/js/data/index.js index 89845d2..4c4c079 100644 --- a/static/js/data/index.js +++ b/static/js/data/index.js @@ -20,8 +20,7 @@ option_1_1 = { xAxis: [ { type: "category", - data: [ - ], + data: [], axisPointer: { type: "shadow" }, axisLine: { lineStyle: { color: "#fff" } }, axisLabel: { color: "#fff" }, @@ -36,28 +35,19 @@ option_1_1 = { { name: "城区", type: "bar", - data: [ - 74.7516, 73.3111, 74.7406, 76.2088, 71.4245, 83.2045, 71.4945, 66.099, - 60.236, 50.1589, - ], + data: [], itemStyle: { borderRadius: [6, 6, 0, 0] }, }, { name: "镇区", type: "bar", - data: [ - 13.302, 13.9083, 15.4038, 16.3225, 16.3852, 19.2568, 17.8375, 17.4047, - 16.0644, 13.5613, - ], + data: [ ], itemStyle: { borderRadius: [6, 6, 0, 0] }, }, { name: "乡村", type: "bar", - data: [ - 25.536, 24.6128, 24.8226, 25.2409, 22.1658, 26.4498, 23.5793, 22.1677, - 20.5735, 17.7902, - ], + data: [ ], itemStyle: { borderRadius: [6, 6, 0, 0] }, }, { @@ -65,8 +55,6 @@ option_1_1 = { type: "line", yAxisIndex: 1, data: [ - 113.5896, 111.8322, 114.967, 117.7722, 109.9755, 128.9111, 112.9113, - 105.6714, 96.8739, 81.5104, ], }, { diff --git a/static/js/index.js b/static/js/index.js index d8f250d..521e0a1 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -33,6 +33,10 @@ $(function () { seriesItem.tooltip = { valueFormatter: (v) => v + " 万人" }; }); option_1_1.xAxis[0].data = res.xAxis_data; + option_1_1.series[0].data = res.series_data_1; + option_1_1.series[1].data = res.series_data_2; + option_1_1.series[2].data = res.series_data_3; + option_1_1.series[3].data = res.series_data_4; myChart.setOption(option_1_1); window.addEventListener("resize", function () { myChart.resize();