do you want to send a filter to the filter-bar when you click on a part of your chart?
For that, you will have to use the filter event-handler.
For some sample code, you can dig around some of the existing visualizations in Kibana. For example, this is how we do it when clicking a tag on the tag-cloud:
i think he is talking about embedding visualizations in his app ?
currently the only way to do that is by loading the saved object on your own and adding filters/query to the searchSource and then calling embedVisualizationWithSavedObject.
there are plans to make this easier in the future.
Right now I can filter the visualizations using the timepicker and I've successfully used the kbn-top-nav with the query-bar directives in the plugin, and can filter using text queries.
I'm trying to use the filter-bar directive (I've had to import it, it isn't include using autoload/all) but no luck with it so far.
The plan is to use the filter-bar along the click thing with the visualizations.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.