add graph calculation for real and planned xpenses