property Chart.MarkNowUnit as UnitEnum
Retrieves or sets a value that indicates the base time unit while highlighting the current time.

 TypeDescription 
   UnitEnum A UnitEnum expression that specifies the date-time unit to show the current date-time in the control's chart.  
By default, the MarkNowUnit property is exSecond. The control's chart shows the position of the current date-time, only if the MarkNowColor property is not zero (0). Use the MarkNowColor properties to show the current date-time in the control's chart. Use the MarkNowUnit property to specify the unit of time to count for. For instance, you can show the current date-time from current second, to next second, from minute to next minute, and so on. Use the MarkNowCount property to specify the number of units of date-time to count from. For instance, you can show the current date-time from 5 seconds to 5 seconds, and so on. The MarkNowWidth property specifies the width in pixels of the vertical bar that shows the current date-time.  The MarkNowTransparent property specifies the percent of transparency to show the vertical bar that indicates the current date-time. The MarkTodayColor property highlights the current day only. The control fires the DateTimeChanged event when the current date-time is changed.


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.