User (Legacy) Posted April 5, 2004 Report Share Posted April 5, 2004 Hello, I'm not sure I understand the help about formatting axis ... from the help file : If the Format has been set as Date, this line of code will display the month name: Chart1.AxisX.LabelsFormat.CustomFormat = "MMM" sample from the help ... Chart1.AxisX.LabelsFormat.FormatDateTime(date2Format HOW do I set the format as Date (I tried but nothing has changed)???? Any nice and clear sample(s) would be appreciate. Thanks, Aristide. Link to comment Share on other sites More sharing options...
Software FX Posted April 5, 2004 Report Share Posted April 5, 2004 Chart1.AxisY.LabelsFormat.Format = AxisFormat.Date Chart1.AxisY.LabelsFormat.CustomFormat = "dd-MMM-yy" Will display: 01-Jan-01 If you need more information on what characters you can use in the CustomFormat string, please refer to .NET's framework docs. Specifically look for topics titled: "Custom DateTime Format Strings" "Standard DateTime Format Strings" -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 5, 2004 Author Report Share Posted April 5, 2004 Sorry, I did not tell that I was using Fx for Webmatrix so I have the follwing error: BC30456: 'Date' is not a member of 'SoftwareFX.ChartFX.WebMatrix.AxisFormat'. Any example for Webmatrix? thanks, Aristide "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:eym1aTyGEHA.200@webserver3.softwarefx.com... > > Chart1.AxisY.LabelsFormat.Format = AxisFormat.Date > Chart1.AxisY.LabelsFormat.CustomFormat = "dd-MMM-yy" > > > Will display: > > 01-Jan-01 > > If you need more information on what characters you can use in the > CustomFormat string, please refer to .NET's framework docs. Specifically > look for topics titled: > > "Custom DateTime Format Strings" > "Standard DateTime Format Strings" > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted April 6, 2004 Report Share Posted April 6, 2004 Date formatting is not supported in Chart FX Lite/WebMatrix. Sorry for the confusion, next time you can post in chartfx.webmatrix.general or chartfx.lite.net -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.