connecting search view to actual graphed