From 67ab9b89a19b117800424c253427b0dd961b2574 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 11 十一月 2022 13:51:00 +0800 Subject: [PATCH] Merge branch 'dev--wxr' --- HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs index eb0b3db..990e90e 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs @@ -35,10 +35,12 @@ string curQueryType = "hour"; string queryTime; Function function; - public AcstSubHistoryPage(Function temp) + string colorString; + public AcstSubHistoryPage(Function temp,string colorStr) { function = temp; bodyView = this; + colorString = colorStr; } @@ -134,7 +136,7 @@ { Y = Application.GetRealHeight(222), Height = Application.GetRealHeight(34), - Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮俯搴�", + TextID = StringId.Temp, TextSize = 10, TextColor = 0xFF798394, TextAlignment = TextAlignment.Center, @@ -169,7 +171,7 @@ { Y = Application.GetRealHeight(222), Height = Application.GetRealHeight(34), - Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮箍搴�", + TextID = StringId.Humidity, TextSize = 10, TextColor = 0xFF798394, TextAlignment = TextAlignment.Center, @@ -327,7 +329,7 @@ } tempEchartOption.InitXdataText(vs); } - tempEchartOption.InitYdataText("", revertData, "#FF80AEFF"); + tempEchartOption.InitYdataTextLinearGradient("(掳C)", revertData, colorString); tempEchartOption.xTitle = Language.StringByID(StringId.timeMode); var opString = tempEchartOption.InitOption(); @@ -383,7 +385,7 @@ } humiEchartsOption.InitXdataText(vs); } - humiEchartsOption.InitYdataText("", revertData, "#FF80AEFF"); + humiEchartsOption.InitYdataTextLinearGradient("(%)", revertData, colorString); } } humiEchartsOption.xTitle = Language.StringByID(StringId.timeMode); -- Gitblit v1.8.0