jasper reports - Average line in time series with iReport -
how can draw average line in time series?
solutions
there few ways this:
- perform in-line trend analysis , write chart customizer perform calculations. see also:
- use integrated statistical package database perform statistical analysis. see also:
- use third-party tool perform analysis. see:
in-line analysis
the disadvantage performing analysis in-line jasperreports plots single value @ time. customizer write have calculate trend based on past data points, rather analysis on data points @ end. cause slight skew data line.
integrated stats package
the disadvantage using statistics package have find way integrate database. (you have learn corresponding statistical functions perform analysis.)
third-party tool
the disadvantage here might have pay product, or support. integration easiest.
recommended solution
if have postgresql database, recommend installing pl/r. use r perform aggregate data analysis , send result jasperreports time series chart.
what asking can quite involved.
Comments
Post a Comment