# How to get the excat visualization used in Discover page in my custom plugin

**URL:** <https://discuss.elastic.co/t/how-to-get-the-excat-visualization-used-in-discover-page-in-my-custom-plugin/157214>\
**Category:** Kibana\
**Created:** [November 18, 2018, 9:03am UTC](https://discuss.elastic.co/t/how-to-get-the-excat-visualization-used-in-discover-page-in-my-custom-plugin/157214 "2018-11-18T09:03:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Jagadeesh\_ctm](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@Jagadeesh\_ctm](https://discuss.elastic.co/u/Jagadeesh_ctm)\
**Post date:** [November 20, 2018, 8:15am UTC](https://discuss.elastic.co/t/how-to-get-the-excat-visualization-used-in-discover-page-in-my-custom-plugin/157214/4 "2018-11-20T08:15:11Z")

</div>

I use the VisualizeLoader . and the chart worked fine  
I use this link as a reference but it is creating an error when i hover on the top of the chart  
I t is showing that  
**Uncaught TypeError: self.formatter is not a function ([http://localhost:5601/bundles/commons.bundle.js:383977](http://localhost:5601/bundles/commons.bundle.js:383977))**

I used this link as a reference [https://discuss.elastic.co/t/visualization-directive-for-a-histogram/125040/3](https://discuss.elastic.co/t/visualization-directive-for-a-histogram/125040/3)

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-the-excat-visualization-used-in-discover-page-in-my-custom-plugin/157214)._
