Jump to content
Software FX Community

DateTime on X axis???


User (Legacy)

Recommended Posts

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

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

Hello,

At this time we do not anticipate to support any other format types other

than currency. You could manually assign labels to your X-Axis that contain

preformatted labels using the Legend property.

ChartName.Legend(index) = "Formatted Date String"

Justin Trask

Software FX

Tech. Support

"Jason Walters" <jasonw@dsl-only.net> wrote in message

news:d#Lr$kxoBHA.1272@webserver1.softwarefx.com...

> 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

Hello,

At this time we do not anticipate to support any other format types other

than currency. You could manually assign labels to your X-Axis that contain

preformatted labels using the Legend property.

ChartName.Legend(index) = "Formatted Date String"

Justin Trask

Software FX

Tech. Support

"Jason Walters" <jasonw@dsl-only.net> wrote in message

news:d#Lr$kxoBHA.1272@webserver1.softwarefx.com...

> 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

Archived

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

×
×
  • Create New...