I would like to generate a chart which combines both stackedbarchart and a moving average line in the same chart.
I am currently using a DefaultCategoryDataset object for my stackedBarChart, and am unsure how I can use the data I am passing into this to generate a moving average line as well.
I have read the online documentation for JFreeChart, which discusses moving average on page 749. However, I am unable to determine how to implement it in my code using the current DefaultCategoryDataset.
What would be an effective way to accomplish the objective?