fixed graph view template helper