Add support for setting graph ranges