From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 28 十月 2024 11:58:31 +0800
Subject: [PATCH] 谷歌版本问题修复

---
 HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EchartsOption_BrokenLine.cs |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 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..7378642 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,
@@ -260,7 +271,7 @@
                     grid: {
                          top: '15%',
                         left: '13%',
-                        right: '12%',
+                        right: '15%',
                         bottom: '10%',
                     },
                     xAxis: {
@@ -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