User (Legacy) Posted May 8, 2003 Report Share Posted May 8, 2003 Hello, I'm using an XY Plot chart, and my X-Axis is using min and max values that are times (COleDateTime since I'm programming in Visual C++). I have an interval between Min and Max values that is 24 hours, and set my step to 1/24 which should create steps of 1 hour. Unfortunately this doesn't happen, and I get the following : Am I doing something wrong or is this a limitation to the control ? Thanks Paulo Sebasti Link to comment Share on other sites More sharing options...
Software FX Posted May 14, 2003 Report Share Posted May 14, 2003 Check the actual values of your Min and Max maybe they are not rounded to the hour. The following code works perfectly when added to a default X/Y chart: ChartFX1.Axis(AXIS_X).Min = CDate("1/1/2001") ChartFX1.Axis(AXIS_X).Max = CDate("1/2/2001") ChartFX1.Axis(AXIS_X).Step = 1# / 24# ChartFX1.Axis(AXIS_X).Format = AF_DATETIME -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.