question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example 'new visualisation' PRs no longer work

See original GitHub issue

Reviewing 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
issue-label-bot[bot]commented, May 15, 2019

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.

1reaction
andreaslordoscommented, Jul 18, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found