add some css properties for graph