User (Legacy) Posted November 19, 2003 Report Share Posted November 19, 2003 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 YYYY-DD-Nov, YYYY-DD-Dec, YYYY-DD-Jan 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 More sharing options...
Software FX Posted November 20, 2003 Report Share Posted November 20, 2003 If you want to have Year-Day-Mont you do: CString fmt = "Dyyyy-dd-MMM" Lower case. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.