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. Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.