TimePeriodEnd 属性(XY 图对象)
返回或设置当前时间段的结束日期和时间。要设置此属性,必须将 TimePeriodAbsoluteMode 属性设置为
True
。读/写。字符串。语法
XYPlot1
.TimePeriodEnd
[ = value
]其中
XYPlot1
- 是 XY 图对象的名称,或是对 XY 图对象求值的表达式。value
- 是一个字符串类型的参数。此为日期/时间字符串,例如“2016/01/01 12:00 PM”。示例
Private Sub SetTimePeriodEnd() XYPlot1.TimePeriodAbsoluteMode = True XYPlot1.TimePeriodEnd = "2016/01/01 09:15 AM" End Sub
提供反馈