length of graph control