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.
CAxis IsDateTime method
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello nbp,
This needs to be set at the series:
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 |
Instructions - How to post in this forum |