From 12e47f68f509fd09d53e86079265b4664c546959 Mon Sep 17 00:00:00 2001 From: Fine Date: Wed, 2 Nov 2022 17:38:10 +0800 Subject: [PATCH] refactor legend config --- .../widget/graph-styles/Area.vue | 2 + .../configuration/widget/graph-styles/Bar.vue | 2 + .../widget/graph-styles/Line.vue | 104 +------------- .../widget/graph-styles/components/Legend.vue | 133 ++++++++++++++++++ 4 files changed, 140 insertions(+), 101 deletions(-) create mode 100644 src/views/dashboard/configuration/widget/graph-styles/components/Legend.vue diff --git a/src/views/dashboard/configuration/widget/graph-styles/Area.vue b/src/views/dashboard/configuration/widget/graph-styles/Area.vue index 9c4b3e0b..620c803b 100644 --- a/src/views/dashboard/configuration/widget/graph-styles/Area.vue +++ b/src/views/dashboard/configuration/widget/graph-styles/Area.vue @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->