User (Legacy) Posted July 28, 2005 Report Share Posted July 28, 2005 I have an X-axis which has a type of Date. ChartFX.Net 6.2 is being "intelligent" and formatting the dates into groups (months, quarters, etc). I can see how this would be beneficial in most cases, but for me it is no good. I would like to disable Data-Driven Labels. How can I do this? A solution might be to use a string type instead and format the date myself. This would work, except that the rows cannot be sorted correctly. The rows are added in random order, need to be sorted by date, and displayhed without Data-Driven Labels. Thanks, Charlie Link to comment Share on other sites More sharing options...
Software FX Posted July 30, 2005 Report Share Posted July 30, 2005 If you are DataBinding simply do: chart1.DataSourceSettings.DataStyle |= DataStyle.DatesAsLabels; Prior to databinding, this will convert your dates to strings and use them as labels. -- Francisco Padron www.chartfx.com "Charlie" <charlie> wrote in message news:Tzi7EH$kFHA.2036@webserver3.softwarefx.com... >I have an X-axis which has a type of Date. ChartFX.Net 6.2 is being > "intelligent" and formatting the dates into groups (months, quarters, > etc). > I can see how this would be beneficial in most cases, but for me it is no > good. > > I would like to disable Data-Driven Labels. How can I do this? > > A solution might be to use a string type instead and format the date > myself. > This would work, except that the rows cannot be sorted correctly. The rows > are added in random order, need to be sorted by date, and displayhed > without > Data-Driven Labels. > > Thanks, > Charlie > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted July 31, 2005 Author Report Share Posted July 31, 2005 Thank you. That did the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.