diff --git a/src/components/e-charts/bar-chart.vue b/src/components/e-charts/bar-chart.vue
index 3f0f3bcb27f45308571053b03e74f87f2f99d53e..41b06568865c7a501fd87743d98057765ec4e3cd 100644
--- a/src/components/e-charts/bar-chart.vue
+++ b/src/components/e-charts/bar-chart.vue
@@ -12,7 +12,6 @@ export default {
return {
xaxis: [],
data: []
-
};
}
},
@@ -37,14 +36,19 @@ export default {
default: false
}
},
- data: () => ({
- navList: []
- }),
+ data: () => ({}),
mounted() {},
methods: {
bar() {
let self = this;
return {
+ grid: {
+ left: 10,
+ right: 10,
+ bottom: 25,
+ top: 25,
+ containLabel: true
+ },
xAxis: [
{
type: "category",
@@ -57,7 +61,7 @@ export default {
},
interval: 0,
rotate: 30,
- formatter: function(value) {
+ formatter: function(value) {
let valueTxt = "";
if (value.length > 6) {
valueTxt = value.substring(0, 5) + "...";
diff --git a/src/components/e-charts/dashboard.vue b/src/components/e-charts/dashboard.vue
index e18ac05045700f4378ca4470d467c6d5b01ed491..43e93c1d0a56dca7ea7cea3794be1f324bbf3159 100644
--- a/src/components/e-charts/dashboard.vue
+++ b/src/components/e-charts/dashboard.vue
@@ -24,9 +24,7 @@ export default {
default: false
}
},
- data: () => ({
- navList: []
- }),
+ data: () => ({}),
mounted() {},
methods: {
dashboard() {
diff --git a/src/components/e-charts/graph.vue b/src/components/e-charts/graph.vue
new file mode 100644
index 0000000000000000000000000000000000000000..1c8c341b3a7124fe727c75fe45525b4d7b8b3ea8
--- /dev/null
+++ b/src/components/e-charts/graph.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/data-analysis/my-application.vue b/src/pages/data-analysis/my-application.vue
index 2fc4f2c0143417236d4cfe49b0cb8001979e3685..a03e790b8391f75511f42809759f58e50e87bb47 100644
--- a/src/pages/data-analysis/my-application.vue
+++ b/src/pages/data-analysis/my-application.vue
@@ -4,18 +4,265 @@
{{ $t("lang.dataAnalysis") }}
{{ $t("lang.myApplicationDataAnalysis") }}
+
+
+
+
+
+
+
+
+
![]()
+
服务总数
+
2222
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/data-analysis/my-service.vue b/src/pages/data-analysis/my-service.vue
index 3c643940baad61149bc168955ffac3a8c6eadb78..6909f712a3a76f5f77915fd3488f2a17eef84c51 100644
--- a/src/pages/data-analysis/my-service.vue
+++ b/src/pages/data-analysis/my-service.vue
@@ -70,7 +70,15 @@
-
+
+
+
@@ -108,6 +116,7 @@ import lineChart from "@/components/e-charts/line_chart";
import Toplist from "@/components/e-charts/toplist";
import Starlist from "@/components/e-charts/starlist";
import BarChart from "@/components/e-charts/bar-chart";
+import Graph from "@/components/e-charts/graph";
export default {
components: {
BlockRadius,
@@ -117,7 +126,8 @@ export default {
Toplist,
Starlist,
lineChart,
- BarChart
+ BarChart,
+ Graph
},
data: () => ({
navList: [],
@@ -187,6 +197,23 @@ export default {
"01-08"
],
data: [100, 120, 130, 150, 160, 120, 110, 100]
+ },
+ graph_arr: {
+ xaxis: [
+ "01-01",
+ "01-02",
+ "01-03",
+ "01-04",
+ "01-05",
+ "01-06",
+ "01-07",
+ "01-08"
+ ],
+ data: [
+ [1010, 120, 130, 520, 160, 1120, 110, 100],
+ [100, 1210, 130, 1530, 160, 120, 110, 1200]
+ ],
+ legend: ["aaa1", "bbb1"]
}
}),
mounted() {},
@@ -196,6 +223,9 @@ export default {
},
changeApplicationFieldBtn(index) {
console.log(index);
+ },
+ changeServiceCellBtn(index) {
+ console.log(index);
}
}
};