implement graph partial view