* UILineChart:Demo显示鼠标点格式更新

This commit is contained in:
Sunny 2021-06-17 09:10:50 +08:00
parent 1979ed3819
commit 5e769b0b7d
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -56,6 +56,7 @@ namespace Sunny.UI.Demo.Charts
option.XAxis.Name = "日期";
option.YAxis.Name = "数值";
option.XAxis.AxisLabel.DateTimeFormat = DateTimeEx.DateTimeFormat;
option.YAxis.AxisLabel.DecimalCount = 1;
option.XAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = dt.AddHours(3).DateTimeString(), Value = new DateTimeInt64(dt.AddHours(3)) });
option.XAxisScaleLines.Add(new UIScaleLine() { Color = Color.Red, Name = dt.AddHours(6).DateTimeString(), Value = new DateTimeInt64(dt.AddHours(6)) });