index.vue
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<template>
<div>
<Chart :cdata="cdata" />
</div>
</template>
<script>
import Chart from './chart.vue'
export default {
data () {
return {
cdata: {
category: [
"汉台区",
"南郑区",
"城固县",
"洋县",
"西乡县",
"勉县",
"宁强县",
"略阳县",
"镇巴县",
"留坝县",
"佛坪县",
],
lineData: [
44715,
48444,
50415,
56061,
18092,
20728,
24045,
28348,
32808,
36097,
39867
],
barData: [
8500,
9900,
12500,
14000,
21500,
4600,
5000,
5500,
6500,
7500,
23200,
],
rateData: []
}
};
},
components: {
Chart,
},
mounted () {
},
methods: {
}
};
</script>
<style lang="scss" scoped>
</style>