building graph by price, mem or ecu