...
To connect a “Text input” control to a chart using a visual mode query:
Open the chart builder editor by creating a new chart or editing an existing chart on the dashboard.
In the “Filters” section of your visual mode query:
Add the column you want the control to filter. It must have the same data type as your “Text input” control.
Select the appropriate filter operator. If you selected Multi-value in your “Text input” settings, use is one of.
Select your control’s variable.
Select Run query. The result table will update with the new filter applied to the data.
Select Save to dashboard to save the chart.
...