From 2f7ef117517ac2e7f7f2af86fbd3458d0cafa1d3 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 12 Jan 2024 12:53:18 +0300 Subject: [PATCH] MeterGroup demo updates --- doc/metergroup/BasicDoc.vue | 18 ++-------- doc/metergroup/LabelDoc.vue | 31 ++++++++-------- doc/metergroup/MinMaxDoc.vue | 2 +- doc/metergroup/MultipleDoc.vue | 66 ++++++++++++++++++++++++++++++++++ doc/metergroup/VerticalDoc.vue | 6 ++-- pages/metergroup/index.vue | 12 +++++-- 6 files changed, 99 insertions(+), 36 deletions(-) create mode 100644 doc/metergroup/MultipleDoc.vue diff --git a/doc/metergroup/BasicDoc.vue b/doc/metergroup/BasicDoc.vue index 3e7bc1a1a..ac7f6928b 100644 --- a/doc/metergroup/BasicDoc.vue +++ b/doc/metergroup/BasicDoc.vue @@ -12,11 +12,7 @@ export default { data() { return { - value: [ - { color: '#239EF0', label: 'Mortgage', value: 25 }, - { color: '#FAA419', label: 'Loan', value: 15 }, - { color: '#EE5879', label: 'Credit Card', value: 20 } - ], + value: [{ label: 'Space used', value: 15 }], code: { basic: ` @@ -32,11 +28,7 @@ export default { export default { data() { return { - value: [ - { color: '#239EF0', label: 'Mortgage', value: 25 }, - { color: '#FAA419', label: 'Loan', value: 15 }, - { color: '#EE5879', label: 'Credit Card', value: 20 } - ] + value: [{ label: 'Space used', value: 15 }], }; } }; @@ -52,11 +44,7 @@ export default { diff --git a/doc/metergroup/VerticalDoc.vue b/doc/metergroup/VerticalDoc.vue index 2e9b01707..ac5e4712c 100644 --- a/doc/metergroup/VerticalDoc.vue +++ b/doc/metergroup/VerticalDoc.vue @@ -2,7 +2,7 @@

Layout of the MeterGroup is configured with the orientation property that accepts horizontal and vertical as options.

-
+
@@ -23,7 +23,7 @@ export default { `, options: ` @@ -44,7 +44,7 @@ export default { `, composition: ` diff --git a/pages/metergroup/index.vue b/pages/metergroup/index.vue index a511ed3ab..3028b9508 100644 --- a/pages/metergroup/index.vue +++ b/pages/metergroup/index.vue @@ -5,6 +5,7 @@