From efcffde735fa65ae34bae0bcc86313b74ed0e36c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 20 五月 2024 13:47:38 +0800 Subject: [PATCH] 优化离线数据 --- HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 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..bb491d3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs @@ -224,7 +224,11 @@ #if __IOS__ public string optionString = @"{ tooltip: { - trigger: 'axis' + trigger: 'axis', + textStyle: { + fontSize: 30 + }, + padding:40, }, grid: { top: '10%', @@ -234,6 +238,9 @@ }, xAxis: { name: '{10}', + nameTextStyle: { + fontSize: 30 + }, type: 'category', boundaryGap: false, data: [{0}], @@ -243,6 +250,10 @@ }, yAxis: { name: '{20}', + nameGap:30, + nameTextStyle: { + fontSize: 30 + }, type: 'value', axisLabel : { fontSize:30, @@ -284,7 +295,11 @@ #if __IOS__ public string optionString2 = @"{ tooltip: { - trigger: 'axis' + trigger: 'axis', + padding:40, + textStyle: { + fontSize: 30 + }, }, grid: { top: '10%', @@ -294,6 +309,9 @@ }, xAxis: { name: '{10}', + nameTextStyle: { + fontSize: 30 + }, type: 'category', boundaryGap: {11}, data: [{0}], @@ -302,7 +320,11 @@ }, }, yAxis: { - name: '{20}', + name: '{20}', + nameGap:30, + nameTextStyle: { + fontSize: 30 + }, type: 'value', axisLabel : { fontSize:30, -- Gitblit v1.8.0