Add support for setting graph range