Jump to content
Software FX Community

X-Axis Date format question

User (Legacy)

Recommended Posts


I am using ChartFX client server 5.0.5. I have a graph with 1 series, x axis

is date and y axis is a numeric value. If I graph values for 1 month the

graph is created properly but when the data is for a week or two weeks the

x-axis has dates starting from 12/30/1899 and so on.

Also when I pass data for 1 month the Step property is still ignored and the

graph show every 7th x-axis value.

I have selected date in the graph property tab for x axis.

With oGraph

.Axis(AXIS_X).AutoScale = False

If (bMonthly) Then

.Axis(AXIS_X).STEP = 5


.Axis(AXIS_X).STEP = 2

End If

.OpenDataEx COD_XVALUES, 1, 31


iCnt = 0

Do Until (oRS.EOF)

.Series(0).Xvalue(iCnt) = CDate(oRS!myDate)

.Series(0).Yvalue(iCnt) = oRS!RTime

iCnt = iCnt + 1





End With

Link to comment
Share on other sites

  • 2 weeks later...


This topic is now archived and is closed to further replies.

  • Create New...