I’ve looked everywhere and couldn’t find any information on how to create a chart of accounting data grouped by month. It could be accounting data but it could also be number of cars sold per month, etc. from a list of data.
For example how do I convert a list of accounting data where each POJO consists of the transaction amount and the date of the transaction into a bar chart with monthly totals?
Currently I’m streaming my collection into a TreeMap of YearMonth and then looping through the results creating new DataSeriesItems for each yearMonth entry.