DateTime format by default for axis
Posted: Tue May 06, 2014 1:03 pm
Hi, I would like to set default DateTime format for Bottom axis without associating with any data to it. For examle, when i do this code
i can see that min and max values are the OADates( which are just double values ), but i want them shown as normal dates in any DateTime format ( for example "HH:MM:ss" ). If i add some date value, eveything start look fine. Are there any way to show labels in DateTime format by default?
Code: Select all
tChart1.Series.Add( new Steema.TeeChart.Styles.Line() );
tChart1.Axes.Bottom.SetMinMax( new DateTime( 1, 1, 1, 1, 1, 1 ), new DateTime( 1, 1, 1, 1, 1, 5 ) );