add css to graph