From a40848272e33822f72a7fe0310f079717bf73f23 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 18 十月 2024 16:21:39 +0800 Subject: [PATCH] 修复金茂科技系统,金茂光伏问题 --- HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs index cc799c1..8b5e939 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs @@ -131,6 +131,7 @@ data:[{1}], type:'{333}', smooth:0.6, + type: 'line', symbol:'none', color:'{2}'} "; @@ -180,6 +181,7 @@ var YvalueTextItem = @"{name:'{0}', data:[{1}], smooth:0.6, + type: 'line', symbol:'none', color:'{2}CC', areaStyle: { @@ -224,7 +226,11 @@ #if __IOS__ public string optionString = @"{ tooltip: { - trigger: 'axis' + trigger: 'axis', + textStyle: { + fontSize: 30 + }, + padding:40, }, grid: { top: '10%', @@ -234,6 +240,9 @@ }, xAxis: { name: '{10}', + nameTextStyle: { + fontSize: 30 + }, type: 'category', boundaryGap: false, data: [{0}], @@ -243,6 +252,10 @@ }, yAxis: { name: '{20}', + nameGap:30, + nameTextStyle: { + fontSize: 30 + }, type: 'value', axisLabel : { fontSize:30, @@ -260,7 +273,7 @@ grid: { top: '15%', left: '13%', - right: '12%', + right: '15%', bottom: '10%', }, xAxis: { @@ -284,7 +297,11 @@ #if __IOS__ public string optionString2 = @"{ tooltip: { - trigger: 'axis' + trigger: 'axis', + padding:40, + textStyle: { + fontSize: 30 + }, }, grid: { top: '10%', @@ -294,6 +311,9 @@ }, xAxis: { name: '{10}', + nameTextStyle: { + fontSize: 30 + }, type: 'category', boundaryGap: {11}, data: [{0}], @@ -302,7 +322,11 @@ }, }, yAxis: { - name: '{20}', + name: '{20}', + nameGap:30, + nameTextStyle: { + fontSize: 30 + }, type: 'value', axisLabel : { fontSize:30, -- Gitblit v1.8.0