'JFreeChart: create a chart with java.time.LocalDate or java.time.LocalDateTime

java.util.Date is very error prone. It is dead. Long live java.time.*.

Given a Map<LocalDate, Integer> dateToCountMap, how do I create a JFreeChart chart that shows the count per date?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source