finish graph generater in piggybank