Inject kibana topbar with timeFilter into custom plugin

Hello commmunity it's possible to inject the kibana topbar with the timeFilter into my plugin ??

im using kibana 5.4.1 and i generated the plugin using the https://github.com/elastic/template-kibana-plugin/

Thank you in advance.

Hello,

You can look at how it was done in this plugin: https://github.com/nyurik/kibana-vega-vis but the gist of it is to get the timefilter from the dependency injector and then call getRange on it.

hello marius_dragomir,

thank you for your response but my problem is not how to access the timefilter inside my controller but how to user directive inside my template and it show the topbar with the range filter on the ui.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.