Skip to content

Commit 028edd7

Browse files
committed
【update】智慧城市模板柱状图显示全部柱子; review by luox
1 parent e7b35e9 commit 028edd7

File tree

3 files changed

+44
-36
lines changed

3 files changed

+44
-36
lines changed

examples/component/components_city_smart_economic_vue.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<sm-text
104104
v-bind="textPropsCommon"
105105
title="单位:亿元"
106-
106+
107107
></sm-text>
108108
<sm-text
109109
v-bind="textNumberProps"
@@ -128,7 +128,7 @@
128128
<sm-text
129129
v-bind="textPropsCommon"
130130
title="单位:亿元"
131-
131+
132132
></sm-text>
133133
<sm-text
134134
v-bind="textNumberProps"
@@ -240,7 +240,7 @@
240240
<sm-text
241241
v-bind="textPropsCommon"
242242
title="固定资产投资总额"
243-
243+
244244
></sm-text>
245245
<sm-text
246246
v-bind="textNumberProps"
@@ -258,7 +258,7 @@
258258
<sm-text
259259
v-bind="textPropsCommon"
260260
title="社销零总额"
261-
261+
262262
></sm-text>
263263
<sm-text
264264
v-bind="textNumberProps"
@@ -353,7 +353,7 @@
353353
<sm-text
354354
v-bind="textPropsCommon"
355355
title="社销零总额变化趋势"
356-
356+
357357
></sm-text>
358358
<div class="chart-bar" style="width: 100%; height: 140px; margin: 0;">
359359
<sm-chart v-bind="lineChartProps"></sm-chart>
@@ -397,7 +397,7 @@
397397
<sm-text
398398
v-bind="textPropsCommon"
399399
title="规上工业总产值的增长趋势"
400-
400+
401401
></sm-text>
402402
<div class="chart-bar" style="width: 260px; height: 120px">
403403
<sm-chart icon-class="" :options="industryChartBarPropDatas"></sm-chart>
@@ -408,7 +408,7 @@
408408
<sm-text
409409
v-bind="textPropsCommon"
410410
title="金融业增长趋势"
411-
411+
412412
></sm-text>
413413
<div class="chart-bar" style="width: 260px; height: 120px">
414414
<sm-chart v-bind="lineChartProps"></sm-chart>
@@ -439,7 +439,7 @@
439439
<sm-text
440440
v-bind="textPropsCommon"
441441
title="金融业增长趋势"
442-
442+
443443
></sm-text>
444444
<div class="chart-bar" style="width: 300px; height: 120px">
445445
<sm-chart v-bind="lineChartProps"></sm-chart>
@@ -1284,6 +1284,8 @@
12841284
backgroundColor: '',
12851285
yAxis: {
12861286
name: '单位:个',
1287+
min: 0,
1288+
max: 100,
12871289
axisLabel: {
12881290
rotate: 0,
12891291
fontFamily: 'MicrosoftYaHei',

examples/component/components_city_smart_livelihood_vue.html

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
<sm-text
341341
v-bind="textPropsCommon"
342342
title="住宅总面积增速"
343-
343+
344344
></sm-text>
345345
<div class="chart-bar" style="width: 100%; height: 120px">
346346
<sm-chart v-bind="lineChartProps"></sm-chart>
@@ -380,7 +380,7 @@
380380
<sm-text
381381
v-bind="textPropsCommon"
382382
title="住宅机构分布"
383-
383+
384384
></sm-text>
385385
<div class="chart-bar" style="width: 100%; height: 120px">
386386
<sm-chart icon-class="" :options="chartBarPropDatas1"></sm-chart>
@@ -402,7 +402,7 @@
402402
<sm-text
403403
v-bind="textPropsCommon"
404404
title="安全生产事故死亡率"
405-
405+
406406
></sm-text>
407407
<div class="chart-bar" style="width: 100%; height: 120px">
408408
<sm-chart icon-class="" :options="chartBarPropDatas"></sm-chart>
@@ -414,7 +414,7 @@
414414
<sm-text
415415
v-bind="textPropsCommon"
416416
title="药品抽检合格率"
417-
417+
418418
></sm-text>
419419
<div class="chart-bar" style="width: 100%; height: 120px">
420420
<sm-chart icon-class="" :options="chartXBarPropDatas"></sm-chart>
@@ -441,7 +441,7 @@
441441
<sm-text
442442
v-bind="textPropsCommon"
443443
title="单位:家"
444-
444+
445445
></sm-text>
446446
<sm-text v-bind="textNumberProps" title="1,345" style="height: 30px"></sm-text>
447447
</div>
@@ -454,7 +454,7 @@
454454
<sm-text
455455
v-bind="textPropsCommon"
456456
title="单位:个"
457-
457+
458458
></sm-text>
459459
<sm-text v-bind="textNumberProps" title="2, 021" style="height: 30px"></sm-text>
460460
</div>
@@ -465,7 +465,7 @@
465465
<sm-text
466466
v-bind="textPropsCommon"
467467
title="城市接待游客比例"
468-
468+
469469
></sm-text>
470470
<div class="chart-content">
471471
<div style="width: 127px; height: 127px">
@@ -477,23 +477,23 @@
477477
<sm-text
478478
v-bind="textPropsCommon"
479479
title="2018"
480-
480+
481481
></sm-text>
482482
</div>
483483
<div>
484484
<span class="span-point" style="background: #55adea"></span>
485485
<sm-text
486486
v-bind="textPropsCommon"
487487
title="2019"
488-
488+
489489
></sm-text>
490490
</div>
491491
<div>
492492
<span class="span-point" style="background: #6d769c"></span>
493493
<sm-text
494494
v-bind="textPropsCommon"
495495
title="2020"
496-
496+
497497
></sm-text>
498498
</div>
499499
</div>
@@ -506,7 +506,7 @@
506506
<sm-text
507507
v-bind="textPropsCommon"
508508
title="旅游业占服务业比重"
509-
509+
510510
></sm-text>
511511
<div class="chart-content">
512512
<div style="width: 110px; height: 110px">
@@ -518,31 +518,31 @@
518518
<sm-text
519519
v-bind="textPropsCommon"
520520
title="2017"
521-
521+
522522
></sm-text>
523523
</div>
524524
<div>
525525
<span class="span-point" style="background: #55adea"></span>
526526
<sm-text
527527
v-bind="textPropsCommon"
528528
title="2018"
529-
529+
530530
></sm-text>
531531
</div>
532532
<div>
533533
<span class="span-point" style="background: #6d769c"></span>
534534
<sm-text
535535
v-bind="textPropsCommon"
536536
title="2019"
537-
537+
538538
></sm-text>
539539
</div>
540540
<div>
541541
<span class="span-point" style="background: #cde9b3"></span>
542542
<sm-text
543543
v-bind="textPropsCommon"
544544
title="2020"
545-
545+
546546
></sm-text>
547547
</div>
548548
</div>
@@ -708,6 +708,8 @@
708708
backgroundColor: '',
709709
yAxis: {
710710
name: '单位:件',
711+
min: 0,
712+
max: 10,
711713
axisLabel: {
712714
rotate: 0,
713715
fontFamily: 'MicrosoftYaHei',
@@ -852,6 +854,8 @@
852854
backgroundColor: '',
853855
yAxis: {
854856
name: '单位:%',
857+
min: 0,
858+
max: 100,
855859
axisLabel: {
856860
rotate: 0,
857861
fontFamily: 'MicrosoftYaHei',

examples/component/components_city_smart_management_vue.html

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<sm-text
103103
v-bind="textPropsCommon"
104104
title="当日案件统计"
105-
105+
106106
></sm-text>
107107
<div class="chart-content">
108108
<div style="width: 120px; height: 120px">
@@ -114,7 +114,7 @@
114114
<sm-text
115115
v-bind="textPropsCommon"
116116
title="结案案件"
117-
117+
118118
></sm-text>
119119
<sm-text
120120
v-bind="textNumberProps"
@@ -127,7 +127,7 @@
127127
<sm-text
128128
v-bind="textPropsCommon"
129129
title="受理案件"
130-
130+
131131
></sm-text>
132132
<sm-text
133133
v-bind="textNumberProps"
@@ -140,7 +140,7 @@
140140
<sm-text
141141
v-bind="textPropsCommon"
142142
title="立案案件"
143-
143+
144144
></sm-text>
145145
<sm-text
146146
v-bind="textNumberProps"
@@ -156,7 +156,7 @@
156156
<sm-text
157157
v-bind="textPropsCommon"
158158
title="当日案件来源"
159-
159+
160160
></sm-text>
161161
<div class="chart-content">
162162
<div style="width: 120px; height: 120px">
@@ -168,7 +168,7 @@
168168
<sm-text
169169
v-bind="textPropsCommon"
170170
title="立案案件"
171-
171+
172172
></sm-text>
173173
<sm-text
174174
v-bind="textNumberProps"
@@ -187,7 +187,7 @@
187187
<sm-text
188188
v-bind="textPropsCommon"
189189
title="结案案件"
190-
190+
191191
></sm-text>
192192
<sm-text
193193
v-bind="textNumberProps"
@@ -206,7 +206,7 @@
206206
<sm-text
207207
v-bind="textPropsCommon"
208208
title="受理案件"
209-
209+
210210
></sm-text>
211211
<sm-text
212212
v-bind="textNumberProps"
@@ -225,7 +225,7 @@
225225
<sm-text
226226
v-bind="textPropsCommon"
227227
title="立案案件"
228-
228+
229229
></sm-text>
230230
<sm-text
231231
v-bind="textNumberProps"
@@ -375,7 +375,7 @@
375375
<sm-text
376376
v-bind="textPropsCommon"
377377
title="结案案件"
378-
378+
379379
></sm-text>
380380
<sm-text
381381
v-bind="textNumberProps"
@@ -388,7 +388,7 @@
388388
<sm-text
389389
v-bind="textPropsCommon"
390390
title="受理案件"
391-
391+
392392
></sm-text>
393393
<sm-text
394394
v-bind="textNumberProps"
@@ -401,7 +401,7 @@
401401
<sm-text
402402
v-bind="textPropsCommon"
403403
title="立案案件"
404-
404+
405405
></sm-text>
406406
<sm-text
407407
v-bind="textNumberProps"
@@ -479,7 +479,7 @@
479479
<sm-text
480480
v-bind="textPropsCommon"
481481
title="事件来源数量统计"
482-
482+
483483
></sm-text>
484484
<div class="chart-bar" style="width: 280px; height: 127px">
485485
<sm-chart icon-class="" :options="chartBarPropDatas1"></sm-chart>
@@ -1575,6 +1575,8 @@
15751575
backgroundColor: '',
15761576
yAxis: {
15771577
name: '单位:个',
1578+
min: 0,
1579+
max: 100,
15781580
axisLabel: {
15791581
rotate: 0,
15801582
fontFamily: 'MicrosoftYaHei',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy