XChart
XChart copied to clipboard
Update addSeries() to take in modern date and time classes
I noticed that the addSeries()
method takes in Java's Data class. Even though Java's Date class may suffice, there are new classes from Java 8+ that could be implemented to ease the development process such as LocalTime, LocalDateTime, ZonedDateTime, and Instant that could help programmers insert date and time in their x and y axis. Java's Data class has most of its methods depreciated so updating addSeries()
method to included such new date and time classes would help programmers tremendously.