added costs chart funcionality, not fully working yet