CAxis IsDateTime method

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

CAxis IsDateTime method

Post by nbp » Tue Feb 24, 2009 10:45 pm

I have a dialog with a checkbox for selecting/deselecting the DateTime format for an Axis. To get the value of this I use the following (and it works fine):

CAxis XAxis;

BOOL bDateTime = XAxis.IsDateTime();

However, I can't find a method in CAxis to set the value (to true or false) if the user selects the checkbox.

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 25, 2009 3:06 pm

Hello nbp,

This needs to be set at the series:

Code: Select all

   m_Chart1.Series(0).GetXValues().SetDateTime(true);
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply