Energy autonomy and other Solar PV energy visualisations

I've created some scripts to take data from an energy monitor and from a solar PV inverter and pushing the data to emoncms. It is fairly easy to visualise the consumption and the generation, but I would like to visualise combinations of those data feeds such as:

Energy autonomy: how much of our consumption comes from our solar PV system, both in actual values and as a percentage

How much of the solar PV electricity is is used versus exported as percentages.

Ideally I'd like to view these values per hour, per day, per week, per month, per year.

 

Is this even possible in emoncms or do I have to pre-calculate these values and feed these to emoncms?