Example 'new visualisation' PRs no longer work
See original GitHub issueReviewing the documentation and example PRs for how to add a new visualisation, I have followed those steps as closely as possible (apart from some folders which seem to have been moved). When adding the new visualiation to a dashboard, I get the following error:
An error occurred while rendering the visualization: Error: Item with key "custom_vis" is not registered.
Expected results
The visualisation loads
Actual results
A yellow box displays with the error, along with the same message through console.warn.
How to reproduce the bug
Follow the structure of https://github.com/apache/incubator-superset/pull/3013 in order to create a new visualisation, run npm run build
and npm run sync-backend
, start server. Add new chart using the visualisation, and add to dashboard. Visit dashboard.
Environment
- superset version:
v0.29rc7
- python version:
Python 3.7.3
- node.js version:
v11.11.0
- npm version:
6.7.0
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Closember participation #1638 - python-visualization/folium
I believe there are some stale PRs, already resolved or no longer relevant issues ... Get through the backlog of PRs; Close more...
Read more >Topic modeling visualization - How to present results of LDA ...
In this post, we will build the topic model using gensim's native LdaModel and explore multiple strategies to effectively visualize the results ...
Read more >Visualize release progress – VSTS Sprint 135 Update
In the Sprint 135 Update of Visual Studio Team Services (VSTS), we bring a new way to visualize all your release activity.
Read more >Open Source Series: Issues and PRs - Just Jeb
Today we'll be discussing contributions, the holy grail of every open source project. We'll see what's the best way to manage and organize ......
Read more >80 types of charts & graphs for data visualization ... - Datylon
A complete list of popular and less known types of charts & graphs to use in data visualization. Line charts, bar graphs, pie...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
New documentation must be written in order to specify how to create a new visualization, as Superset visualizations are now dependent on plugins, see PR #6838. Unfortunately there is no existing documentation on how to write & integrate a plugin.
If you want to try and build your own plugin without documentation, clone superset-ui-plugins, write your plugin (use other plugins as templates), and use Storybook to make sure your chart displays correctly. Then, try integrating your plugin into this repository by looking at how other plugins are imported/integrated.