property Chart.MarkNowWidth as Long
Specifies the width in pixels of the object that shows the current time.

 TypeDescription 
   Long A long expression that specifies the width in pixels of the vertical bar that shows the current date-time in the control's chart. If the MarkNowWidth property is 0 or negative, the control computes the required width so current date-time is shown based on the MarkNowUnit and MarkNowCount properties. For instance, in this case, if your chart displays seconds, and the MarkNowCount property is 2, the width of the vertical bar that shows the current date-time is UnitWidth multiplied by 2 ( the space required in the control's chart to display 2 seconds ) .  
By default, the MarkNowWidth property is 1. The control's chart shows the position of the current date-time, only if the MarkNowColor property is not zero (0). The MarkNowWidth property specifies the width in pixels of the vertical bar that shows the current date-time. The MarkNowUnit property specifies 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 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.