adjust graph style.