Add ymin and ymax to the graph types