From 8465d2e7af612a505cbf65dc50bd507ee4abd316 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 03 八月 2023 23:37:14 +0800
Subject: [PATCH] ios echats图表问题修复

---
 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