added colors to the graphs

and the threshold is also accessible from the client now