Get agenda pie charts working