diff --git a/ayanova/src/components/chart-pie-control.vue b/ayanova/src/components/chart-pie-control.vue
new file mode 100644
index 00000000..16b545f7
--- /dev/null
+++ b/ayanova/src/components/chart-pie-control.vue
@@ -0,0 +1,43 @@
+
diff --git a/ayanova/src/main.js b/ayanova/src/main.js
index 2e60e8f5..605f0cb0 100644
--- a/ayanova/src/main.js
+++ b/ayanova/src/main.js
@@ -48,6 +48,7 @@ import reportViewerControl from "./components/report-viewer-control.vue";
import wikiControl from "./components/wiki-control.vue";
import attachmentControl from "./components/attachment-control.vue";
import chartLineControl from "./components/chart-line-control.vue";
+import chartPieControl from "./components/chart-pie-control.vue";
//**************************************************************
//**************************************************************
@@ -180,6 +181,7 @@ Vue.component("gz-report-viewer", reportViewerControl);
Vue.component("gz-wiki", wikiControl);
Vue.component("gz-attachments", attachmentControl);
Vue.component("gz-chart-line", chartLineControl);
+Vue.component("gz-chart-pie", chartPieControl);
//3rd party components
Vue.use(VueCurrencyInput);
diff --git a/ayanova/src/views/ops-metrics.vue b/ayanova/src/views/ops-metrics.vue
index 9295c351..9fe115ae 100644
--- a/ayanova/src/views/ops-metrics.vue
+++ b/ayanova/src/views/ops-metrics.vue
@@ -55,6 +55,11 @@
/>
+
+
+
+
+
@@ -311,6 +316,29 @@ export default {
]
};
},
+ dbTopTenChartData() {
+ return {
+ datasets: [
+ {
+ data: [10, 20, 30]
+ }
+ ],
+
+ // These labels appear in the legend and in the tooltips when hovering different arcs
+ labels: ["Red", "Yellow", "Blue"]
+ // datasets: [
+ // {
+ // label: "Table size (MB)",
+ // borderColor: CHART_COLOR.blue,
+ // fill: false,
+ // radius: 0,
+ // hoverRadius: 10,
+ // hitRadius: 4,
+ // data: this.db.topTen
+ // }
+ // ]
+ };
+ },
gcAllChartData() {
return {
datasets: [