Sometimes there is no common pattern to let you use the search bar to select the values of variables (line items) that you want to be plot in the graphs. And also the desired items might not necessarily be the top 'n' items as well which are by default selected for plotting.
Users should be allowed (may be via checkboxes) to handpick the line items that they want to be plotted in the graph.