修复任务栏绑定错误

This commit is contained in:
sc committed 2024-11-10 16:32:31 +08:00
commit 6699b64edf
8 files changed
+152 -113

No files matched your search

+3 -5
View File
@@ -53,9 +53,9 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
private static readonly SKColor s_yellow = new SKColor(198, 167, 0);
public ICartesianAxis[] YAxes { get; set; } ={
new Axis //y在此轴上缩放
{
{
MinLimit =0,
MaxLimit =150,
MaxLimit =160,
Name = Properties.Resources.Temperature +" ( °C )",
NameTextSize = 24,
NamePaint = new SolidColorPaint(s_blue),
@@ -101,9 +101,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
DrawTicksPath = true,
CrosshairSnapEnabled = true,
Position = LiveChartsCore.Measure.AxisPosition.End
}, //PH轴
//new AnimatableAxisBounds
}, //PH轴
};
private readonly Random _r = new Random();