tags:

views:

12

answers:

0

We are currnetly using dot net charting component in ASP.NET 2.0 web application, which on one chart we have an date axis, we are currently setting Axis marker as

New dotnetCHARTING.AxisMarker("Now", System.Drawing.Color.Red, Now.ToString("dd/MM/yyyy"))

However on occasions there is actually no date for that particular day but we still want to show an indication of roughly the current period.

Does anyone know how I can then set axis to the nearest point to Now??