How to display visualize in a plugin

I am trying to develop a plugin using ElasticSearch and Kibana (6.0.0 - beta 2).
I want to display the specific visualize (such as pie chart) in a plugin, but I am in trouble because it does not work.
Technically, is the above display possible?
If possible, please let me know if there is a simple plug-in sample code.
Sorry for my poor English.

I'm not quite sure I totally understand. You just want to embed a visualization in your plugin?

Thank you for your reply.

I would like to specify Visualize ID or title and display Visualize in the plugin.
If technically possible, please let me know a simple code sample.

Thank you

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