Code: Select all
bottomAxis->SetDateFormat(wxT("%d-%m-%y \n %H:%M:%S"));
From the docs,SetDateFormat() accepts date format in strftime style (http://wxcode.sourceforge.net/docs/freechart/classDateAxis.html).
The above format specifier, if used with strftime gives date in first line and time in the second line. But SetDateFormat doesn't works in the same way. I get both date and time in the same line. Is there some way by which I can split the twi inti to lines? Any help will be appreciated. Thankyou