User (Legacy) Posted January 22, 2002 Report Share Posted January 22, 2002 I know it is the lite version, but is there a way to show the time on the X axix? Something like the clipping at the bottom of this email perhaps? Anyway, I tried : Chart2.AxisX.Format = SoftwareFX.ChartFX.Lite.AxisFormat.Number and .None and .Currency (chuckle) Anyhow, dates seem to be the most universal of things to plot, so I'm sure there has got to be a way. -Jason Q1371019. Date/Time formatting The information on this article applies to a.. ChartFX Client Server b.. ChartFX Financial (Desktop) c.. ChartFX Financial (Internet-Intranet) d.. ChartFX Internet Summary This article explains how to set and manipulate time labels for the x-axis. Description ChartFX provides a means of formating the axis labels to display date/time format rather than a number format thru the Format property. After you have set the format of the axis you can then use the Min, Max, and Step properties to modify the display. The following example has an x-axis starting date of 1/30/2000 that will increase by one day until 2/10/2000 ' Select the axis that you want to format With ChartFX1.Axis(AXIS_X) ' Select the desired format for the axis .Format = AF_DATE ' Convert the numerical value to a date for the min and max value .Min = CDate(#1/30/2000#) .Max = CDate(#2/10/2000#) ' Increase the step by one day .STEP = 1 End With Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.