Jump to content
Software FX Community

A strange problem


User (Legacy)
 Share

Recommended Posts

Hi Frank, 

I've just come to a strange problem and can't understand what I am doing

wrong.

Please see at the attached xaxis3.chd file. It was created by CFX 3.0.

The x-axis labels should be in form "20.01.1999 10:00:00".

If I load this file by the provided CFX 98 sample application, the labels

are the same.

However, if I load the file by our application, the x-axis labels change to

"1/20/99 10:00:00 AM". (see xaxis4.chd)

And I can't understand why.

I checked the application under the debugger and found the only place when

the lables are changed.

...

pXAxis->Label[i] = (LPTSTR)(LPCTSTR)strLegend;

...

But values of strLegend are always in correct form, i.e. "20.01.1999

10:00:00".

What can make the chart to display date/time labels differently?

Thanks in advance,

Serge

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.

Guest
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.

 Share

×
×
  • Create New...