Use existing kibana visualizations into new app plugin

hi,

can you pull in existing Kibana visualizations into your new app? For example if I want to create a line chart visualization above a discover visualization and populate it with certain information based on an ES query I have run

cordially

plus one +1

in the current version of kibana this is a bit tricky, but we are working on refactor (targetting 6.0) which should make this easy.

right now you can take a look at core_plugins/kibana/public/dashboard/panel for how the dashboard includes visualizations ... but be warned, this is probably gonna change soon.