User (Legacy) Posted June 27, 2002 Report Share Posted June 27, 2002 Hi, 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 Else .Axis(AXIS_X).STEP = 2 End If .OpenDataEx COD_XVALUES, 1, 31 oRS.MoveFirst iCnt = 0 Do Until (oRS.EOF) .Series(0).Xvalue(iCnt) = CDate(oRS!myDate) .Series(0).Yvalue(iCnt) = oRS!RTime iCnt = iCnt + 1 oRS.MoveNext Loop .CloseData COD_VALUES .RecalcScale End With Link to comment Share on other sites More sharing options...
Software FX Posted July 11, 2002 Report Share Posted July 11, 2002 This is weird because we don't know the difference between data per week or per month. Please verify your data (x-values) I believe it is incorrect. If you continue to have problems please save the chart to a file (using Export) and e-mail it to us. -- FP Software FX, Inc. test.bmp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.