I created a scriptlet to define a custom method. The custom method captures the last 2 values and do an average with the current value. Its like 3 month Moving average.
This is working fine when placing the custom method using a text field or a variable in the Details section.
I would like to use the same in charts. I created a chart in Summary Band. It seems, the calculation is not working.
Any suggestion please?