Filters in plugin

Hi, I’m new to Grafana and I need to write a plugin to visualize data from Elasticsearch. Is it possible to add the filter selects with vars from the query (like there are for example in the Table plugin)? I’ll be glad for any help.

I found out I was looking for variables in Dashboard Settings.

You can refer to: http://docs.grafana.org/plugins/developing/development/