graph instance moved to mvpanel class