fixed some graph bugs, added gradient colors