From 0e3ac2732eaa6bab942c71a5a3e27e9ba991ef64 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 29 七月 2024 15:58:43 +0800 Subject: [PATCH] # --- Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js | 12 ++++++------ Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js index 48d6c18..89237c4 100644 --- a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js +++ b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js @@ -271,7 +271,7 @@ "data": [], "radius": '50%', "label": { - "show": true, + "show": false, "color": "#666666", "position": 'top', }, @@ -286,13 +286,17 @@ "trigger": 'item' }, "grid": { - "top": 40, - "bottom": 30, - "right": 15, - "left": 15 + "top": 0, + "bottom": 0, + "right": 0, + "left": 0 }, "legend": { - "bottom": 'left', + "show": true, + "fontSize": 10, + "bottom": 'bottom', + // "itemGap": 70, + "itemWidth": 10, "textStyle": { "color": '#cccccc' } @@ -301,15 +305,15 @@ "name": '', "type": 'pie', "data": [], - "radius": ['30%', '60%'], + "radius": ['45%', '70%'], "avoidLabelOverlap": false, "label": { "show": false, "color": "#FFF", - "position": 'top', + "position": 'bottom', }, "labelLine": { - "show": true + "show": false }, }, }, diff --git a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js index 1e0daf7..a3a774d 100644 --- a/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +++ b/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js @@ -104,7 +104,7 @@ "activeOpacity": 0.5, "activeRadius": 10, "offsetAngle": 0, - "labelWidth": 15, + "labelWidth": 5, "border": true, "borderWidth": 3, "borderColor": "#FFFFFF" @@ -113,14 +113,14 @@ }, "ring":{ "type": "ring", - "color": color, - "padding": [5,5,5,5], + "color": color, + "padding": [0,0,0,0], "rotate": false, "dataLabel": false, "legend": { "show": false, "position": "right", - "lineHeight": 25, + "lineHeight": 25, }, "title": { "name": "鏀剁泭鐜�", @@ -134,10 +134,10 @@ }, "extra": { "ring": { - "ringWidth":30, + "ringWidth":0, "activeOpacity": 0.5, "activeRadius": 10, - "offsetAngle": 0, + "offsetAngle": -10, "labelWidth": 15, "border": true, "borderWidth": 3, -- Gitblit v1.9.1