Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 TimeAxis Labels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

FPHealthcare

22 Posts

Posted - 25 Oct 2007 :  22:30:15  Show Profile  Reply with Quote
My chart TimeAxis Label shows like this.
|__________________|___________________|
12:00.....16.....20....0:00......4.....8...... 12:00
...........................7/31/07

I want to display the date in Format dd/mm/yy.
I have tried SetAxisLabelsFormat(), but it doesn't work.

Another question, is that possible to remove the date on the TimeAxis Label, so it will only show the time from 12pm to next day 12pm.

Cheers.

quinncurtis

1164 Posts

Posted - 26 Oct 2007 :  09:12:55  Show Profile  Reply with Quote
The SetAxisLabelsFormat method controls the first line of the time axis labels. The second line is referred to as the crossover date.

You can explicity set the format of the crossover date using the TimeAxisLabels.CrossoverLabelFormat property.

TimeAxisLabels xAxisLab = new TimeAxisLabels(xAxis);
xAxisLab.CrossoverLabelFormat = ChartObj.TIMEDATEFORMAT_DMY;


Eliminate the crossover data by setting the TimeAxis.DateCrossoverMode property to NO_DATECROSSOVER.

xAxisLab.DateCrossoverMode = ChartObj.NO_DATECROSSOVER;



Go to Top of Page

FPHealthcare

22 Posts

Posted - 06 Nov 2007 :  19:21:28  Show Profile  Reply with Quote
Another question, Is that possible, to set CrossoverLableFormat to "Tuesday, 7/31/07"?

Thanks!
Go to Top of Page

quinncurtis

1164 Posts

Posted - 07 Nov 2007 :  10:03:12  Show Profile  Reply with Quote
Sorry, but we do not have that predefined format for the crossover labels.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07