rcabrera Posted May 25, 2007 Report Share Posted May 25, 2007 I've reviewed this document that explains how to set the date format, especially in regards to quarters. http://support.softwarefx.com/Article.aspx?Product=CfxNet70&KBID=7001073&Embed=1 It all works great except for the Quarters. Q{q} does not produce Q1, Q2, etc. It produces Q{q}. Is this a typo? Link to comment Share on other sites More sharing options...
Frank Posted May 25, 2007 Report Share Posted May 25, 2007 Works for me. Make sure you are using the latest Service Pack. If the problem persist please post the code to reproduce it, I tried with a couple of different settings and worked as designed, I could indeed replace the Q by something else and I will see it when the labels were displayed by quarter. Link to comment Share on other sites More sharing options...
rcabrera Posted May 29, 2007 Author Report Share Posted May 29, 2007 I see. Q{q} can only be used in the <quarter format> section. I cannot use this to force the axis to display dates as quarters by trying something like this: mChart.AxisX.LabelsFormat.CustomFormat = "Q{q};Q{q};Q{q};Q{q};yyyy"; Is there another approach I can take to force the x-axis date format to display as quarters all the time? Link to comment Share on other sites More sharing options...
Frank Posted May 29, 2007 Report Share Posted May 29, 2007 Right. If you want to force the Step to be quarters do: chart.axisX.Step = 90; Note that this is not the same as changing the format, changing the format merely changes the way labels are displayed it does not change which labels and where they are displayed. The Step property (default is <auto>) determines at which dates to display the labels. Link to comment Share on other sites More sharing options...
rcabrera Posted May 29, 2007 Author Report Share Posted May 29, 2007 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.