I have a chart I'm trying to figure out where the dates are showing up as integers instead of in a date format.
For Each row As DataRow In dtChartData.Select("ClientID = " & lstClients.SelectedItems.Item(0).Name)
series.Points.Add(DDate(row("DataDate")), CDbl(row("TotalAmt")))
Next
row("DataDate") = #3/1/2014#
but when the chart finishes it shows up as 41699
if I break right after the Points.Add:
series.Points(0).DateX = #3/1/2014#
series.Points(0).X = 41699.0
I've tried changing the chart.PrimaryXAxis.DateTimeFormat = "MM/dd/yyyy" but it doesn't seem to have any effect.