Jump to content
Software FX Community

Problems getting dates to show up according to custom format

User (Legacy)

Recommended Posts

I have tried specifying the format "YYYY-DD-MMM"

CString fmt = "DYYYY-DD-MMM"

CComVariant var((LPCSTR)fmt );

chart_fx->GetAxis()->GetItem( AXIS_Y )->PutFormat( var );

When the dates are displayed on the y axis all I see is something liked


What am I doing wrong here? Also these are not string labels....I am

attempting to have chartfx calculate the string accordingly.

Link to comment
Share on other sites


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

  • Create New...