# 1st own visualization

**URL:** <https://discuss.elastic.co/t/1st-own-visualization/142869>\
**Category:** Kibana\
**Created:** [August 3, 2018, 8:29am UTC](https://discuss.elastic.co/t/1st-own-visualization/142869 "2018-08-03T08:29:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [August 3, 2018, 8:29am UTC](https://discuss.elastic.co/t/1st-own-visualization/142869/1 "2018-08-03T08:29:14Z")

</div>

I try to create my 1st own visualization. I've got some base code from ES & started to change by my own. And several problems occured:

1. my IntelliJ tells me that I cannot import {CATEGORY}, {VisFactoryProvider} and so on because it cannot find files like `ui/vis/vis_category` or `ui/vis/vis_factory`. Checked - it's right, I cannot find it eighter. Where to install it & from where I can download it?
2. Original code has following data: title: 'Webinar Vis', icon: 'fa fa-gear', category: CATEGORY.OTHER. I've changed it for respective: 'Summary', icon: 'fa fa-table', category: CATEGORY.DATA but in Kibana I can see "original" data. I cannot see metrics eighter which I've added by myself. How to update Kibana to see "new" values?

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [August 3, 2018, 11:34am UTC](https://discuss.elastic.co/t/1st-own-visualization/142869/2 "2018-08-03T11:34:14Z")

</div>

Hey @LesioS,

#1: IDEs sometimes struggle to find these references. The `ui/vis/*` path actually references `src/ui/public/vis/*`. More generally, `ui/*` references `src/ui/public/*`

#2: Are you running Kibana in dev mode? If not, then Kibana would require a full restart to capture any changes you've made. I'd recommend starting kibana with the `--dev` flag, or via `yarn start`. This will watch for changes and rebuild Kibana without requiring a full restart/reoptimize. If that's not your issue, then it's rather hard to diagnose your specific scenario without more information

---

<div class="post-metadata">

**Author:** ![LesioS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesios/32/32364_2.png) [@LesioS](https://discuss.elastic.co/u/LesioS)\
**Post date:** [August 3, 2018, 11:58am UTC](https://discuss.elastic.co/t/1st-own-visualization/142869/3 "2018-08-03T11:58:32Z")

</div>

#1. found in D:\Program Files\Elastic\Kibana\6.2.4\src\ui\public\vis  
#2. running on ordinary mode - will check `--dev` mode

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 31, 2018, 11:58am UTC](https://discuss.elastic.co/t/1st-own-visualization/142869/4 "2018-08-31T11:58:33Z")

</div>

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