You can write your own queries using the statspack tables.

Normally, the TREND analysis is specific to your environment. So, its best to write your own queries instead of depending on something ready-made.