As you have already created a parameter and provided search.
You can now add a calculated field to group the rows into 2 groups as per search.
Drag and drop the created field in details shelf to use it in the chart.
Now add a highlighter to the field and show the group that matches the search string.
Highlight similar to this.
Hope this helps you.