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);




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"?


-Ed Evans

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...