Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SWTChart » explanations on formatting the x axis as datetime
explanations on formatting the x axis as datetime [message #1800616] Thu, 03 January 2019 17:13 Go to next message
andrea di cioccio is currently offline andrea di cioccioFriend
Messages: 2
Registered: January 2019
Junior Member
I read the official documentation, about chapter 2.5.5 "DateFormat format = new SimpleDateFormat("HH:mm");" I need to set SimpleDateFormat() as YYYY-MM-DD, but the chart print bad date.
furthermore I would like all the dates I pass as a value to the x axis to be printed.
Re: explanations on formatting the x axis as datetime [message #1800702 is a reply to message #1800616] Sun, 06 January 2019 08:59 Go to previous message
andrea di cioccio is currently offline andrea di cioccioFriend
Messages: 2
Registered: January 2019
Junior Member
I solved part of the problem, it would seem that by inserting YYYY-MM-DD are inserted the days of the year from 1 to 365, instead with YYYY-MM-D the days of the month.but remains the problem of displaying the days that I pass as values, they are now given randomly.FOr example the first date i pass as value is 2018-07-01
Goto Forum:
  


Current Time: Sun Dec 08 03:21:44 GMT 2019

Powered by FUDForum. Page generated in 0.01979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top