Added resetStyle so you can change the graph style dynamically