Error while creating new visualization

hi team,
do the tutorial Creating new visualization types and create my visualazation. I have issue while imported my visualization after starting kibana:

ERROR in ./plugins/kibana_sample_visualization/public/test_vis.js
Module not found: Error: Can't resolve 'ui/vis/vis_category' in '/kibana/plugin/kibana_sample_visualization/public'

the tutorial is a bit outdated, it seems there is no more ui/vis/vis_category

its best if you actual check the code of one of existing visualizations: https://github.com/elastic/kibana/tree/master/src/legacy/core_plugins/metric_vis

ppisljar, thanks for answer. How can i register my visualization to see it in choose window in visualization menu?

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