* UILineChart:Demo显示鼠标点格式更新
This commit is contained in:
parent
1979ed3819
commit
5e769b0b7d
Binary file not shown.
@ -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)) });
|
||||
|
Loading…
x
Reference in New Issue
Block a user