From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs | 33 ++++++++++++++++++--------------- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs index f7ddbdb..0a807a7 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_Pie.cs @@ -34,20 +34,26 @@ /// <returns></returns> private string GetChartControlCommonOption() { - //{0}:鏁版嵁 + //{0}:鏁版嵁 + + //tooltip: + // { + // trigger: 'item', + // padding: 40, + // textStyle: + // { + // fontSize: 38, + // }, + // show: true, + // trigger: 'item', + // position:['1%', '1%'] + // }, #if __IOS__ return @"{ - tooltip: { - trigger: 'item', - padding:40, - textStyle:{ - fontSize :38, - }, - }, series : [ { - right: '55%', - bottom:'55%', + right: '54%', + bottom:'54%', labelLine: false, type: 'pie', data:[ @@ -69,14 +75,12 @@ }"; #else return @"{ - tooltip: { - trigger: 'item', - }, series : [ { + //right: '54%', + //bottom:'54%', labelLine: false, type: 'pie', - radius: '25%', data:[ {0} ], @@ -94,7 +98,6 @@ } ] }"; - #endif } -- Gitblit v1.8.0