Jump to content
Software FX Community

Re: Displaying dates in X-Axis


User (Legacy)

Recommended Posts

Francisco Padron wrote in message ... 

>You can do this:

>

>ChartFX1->Axis->Item[AXIS_X]->Format = COLEVariant((short) AF_DATETIME);

>

>Frank

>SFX

Thanks. That got rid of the compiler error.

I'm using time_t values (number of seconds since Jan, 1970) as my x-values

now, so I have large integers as labels for the x-axis tick marks.

Modifying the axis format to AF_DATETIME didn't change them over (it was a

long shot anyway:)).

What do I need to do to convert the labels from time_t values to something

like "yy/m/d hh:mm:ss"?

Thanks,

-Ed Evans

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...