Added support for the ability to set limits to the graph