Software FX Posted November 24, 1999 Report Share Posted November 24, 1999 You get red numbers when ChartFX does not have enough space to show the labels. - If you are reading the data from AdoResultset you can set the LegendIncrement property before the AdoResultset as follows Chart.LegendIncrement = 5 Chart.LegStyle = Chart.LegStyle Or CL_NOTCLIPPED .... Chart.AdoResultset RS - If you are passing the labels manually you will need to set the CL_NOTCLIPPED flag and make sure you only pass 1 label every N points - You can also set the labels in the X axis vertical as follows Chart.LegStyle = Chart.LegStyle Or CL_VERTXLEG Chart.BottomGap = 80 - You can decrease the font size used in the X axis Chart.XLegFont.Size = 6 Regards, Juan Cegarra Software FX, Inc. http://support.softwarefx.com -----Original Message----- From: Level [ mailto:Level@Level2chart.com] Posted At: Friday, November 19, 1999 9:28 PM Posted To: Server Conversation: date and time in x axis Subject: date and time in x axis Hi I want to set date and time for x axis as follows: 11/29/1999 14:02 11/29/1999 14:10...etc I used the following format and got XAxis.Format = "m/d/yyyy h:mm" I'm getting an integer in the x axis. Date and time values are manipulated as a single string at run time. How should I set date and time in X axis? Link to comment Share on other sites More sharing options...
Software FX Posted November 24, 1999 Author Report Share Posted November 24, 1999 You get red numbers when ChartFX does not have enough space to show the labels. - If you are reading the data from AdoResultset you can set the LegendIncrement property before the AdoResultset as follows Chart.LegendIncrement = 5 Chart.LegStyle = Chart.LegStyle Or CL_NOTCLIPPED .... Chart.AdoResultset RS - If you are passing the labels manually you will need to set the CL_NOTCLIPPED flag and make sure you only pass 1 label every N points - You can also set the labels in the X axis vertical as follows Chart.LegStyle = Chart.LegStyle Or CL_VERTXLEG Chart.BottomGap = 80 - You can decrease the font size used in the X axis Chart.XLegFont.Size = 6 Regards, Juan Cegarra Software FX, Inc. http://support.softwarefx.com -----Original Message----- From: Level [ mailto:Level@Level2chart.com] Posted At: Friday, November 19, 1999 9:28 PM Posted To: Server Conversation: date and time in x axis Subject: date and time in x axis Hi I want to set date and time for x axis as follows: 11/29/1999 14:02 11/29/1999 14:10...etc I used the following format and got XAxis.Format = "m/d/yyyy h:mm" I'm getting an integer in the x axis. Date and time values are manipulated as a single string at run time. How should I set date and time in X axis? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.